I'm not exactly a newbie with struts but I do have what probably amount to newbie questions about the select tag and how to populate it. My action form contains fields called selectedTabs and unselectedTabs, both of which are arrays of Strings. I'd like to build a jsp page that displays the contents of those fields in select tags where I can select multiple rows. There are some somewhat helpful examples of single select tags but I haven't found any for multiple select.
Here is my jsp code, greatly abbreviated: <html:form action="/SaveTabs.action"> <table> <tr> <td> <br/> <b>Unavailable Tabs:</b><br/> <html:select style="width:350" property="unselectedTabs" size="10" multiple="true"> </html:select> </td> <td> <br/><br/> <td> <br/> <b>Available Tabs:</b><br/> <html:select style="width:350" property="selectedTabs" size="10" multiple="true"> </html:select> </td> </tr> </table> </html:form> The action form is getting populated before the jsp is displayed but how do I populate the select tags? Do I use option tags or optioncollection tags? If there are any web sites that contain some good SIMPLE examples that would help too. Thanks David Barron Consultant Zencos Consulting [EMAIL PROTECTED] www.zencos.com work: 919-459-4600 x 119 mobile: 919-995-2356 fax: 919-287-2335 ______________________________________________________________ The information in this e-mail and any attached files is confidential. It is intended solely for the use of the addressee. Any unauthorized disclosure or use is prohibited. If you are not the intended recipient of the message, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. The views of the author may not necessarily reflect those of the company. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]