Open the struts-exercise-taglib/html-select.jsp, there are 2 examples to show you how to use Collection to deal with <html:option>
Billy Ng >From: Ashish Kulkarni <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: <html:options> tag help ASAP >Date: Thu, 29 Aug 2002 15:28:42 -0700 (PDT) > > >Hi, >I get a result set from a query which has id and description, now I have to >show the it in select tag some thing like this, > ><select name="option"> > ><option value="id1">desc1</option> > > <option value="id2">desc2</option> > > </select> > > I think that i can use <html:options> tag which will do my work, but i m >not sure how to use it, how do to define the bean, and also how to set the >properties, does anyone have sample code of the bean and the tag for that >bean options tag, it will help me alot.. >Thanx >Ashish > > > > >A$HI$H > > >--------------------------------- >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>