Hi, Do not use "selected" for any option. By default automatically, the first option will be selected and your purpose will be solved.
Regards, Rajasekhar Cherukuri "Doug Thomas" <[EMAIL PROTECTED]> 10/10/2005 06:20 PM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To "Struts MailList" <user@struts.apache.org> cc Subject Select first in Options list I have a Select element with several Options making up a selection list. The Options are built dynamically from a database. After the list is built, I want the first option in the list to be SELECTed. Every sample I've seen assumes you know what's in the list and you know what option you want selected, by name. Any ideas on how to do this? Doug --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ForwardSourceID:NT00005B56 Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you