thanx
I agree with you :-) Maris -----Original Message----- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 6:19 PM To: Struts Users Mailing List Subject: RE: access a Collection from JSP page Hi. I prefer to store beans in request rather than form bean. Action class fetches data from business logic & places it in request for jsp to access. This is a simpler structure, only go via the form bean when necessary. When using options type tags the collection is in the request & the get/set methods for selected items are in the form - gets a bit tricky really, but I still prefer to keep the form bean as small as possible. Any body agree? Keith. --- Ali Amir <[EMAIL PROTECTED]> wrote: > hi > > I am using the same thing, the best way is to create > a java.util.ArrayList > field in yer Form Bean, and than use the same way as > shown in the > struts-example, using LabelValueBean, it was worth > for us, cuz we are using > this feature a lot. > > cheers > > Ali > > -----Original Message----- > From: Maris Orbidans [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 3:29 PM > To: Struts Users Mailing List > Subject: access a Collection from JSP page > > > > hello all > > > > I need to pass a Collection from an Action class to > JSP form. (to > display search results) > > Which is the best way to do it ? Store a > Collection in session ? > > > Maris Orbidans > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > ************************************************************************ * > The information contained in this message or any of > its > attachments may be privileged and confidential and > intended > for the exclusive use of the addressee. If you are > not the > addressee any disclosure, reproduction, distribution > or other > dissemination or use of this communication is > strictly prohibited > ************************************************************************ * > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>