You won't need the logic iterate tag. The following would suffice: <html:select property="subject" > <html:options collection="your_collection" property="your_property" labelProperty="your_label_property"/> </html:select>
Hope this makes sense, all you would have to do is have a collection that is named your_collection ccessible to the tag (application, session, request, or page scope attribute), and its contents would need properties named your_property (for the value in the drop down) and your_label_property (for the label in the drop down). -----Original Message----- From: Rong Yu [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 10:53 AM To: Struts-Jakarta Subject: simeple question about <logic:iterate> Hi, I have a question on <logic:iterate>, suppose the following code: <html:select property="subject" size="6" multiple="true"> <html:option value="a">Book</html:option> <html:option value="b">Magezine</html:option> <html:option value="c">DVD</html:option> </html:select> I want to retrieve "Book", "Magezine", "DVD" from a from bean, how can I do that using <logic:iterate>? Thanks, -Rong --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]