use <html:options> tag along with the <html:select>

or

print <option> XXX 
using <logic:iterate>

<logic:iterate ...>
        <logic:equals ...>
                <option selected="true"> <bean:write ...>
        </logic:equals>
        <logic:notEquals ...>
                <option > <bean:write ...>
        </logic:notEquals>
</logic:iterate>


Thanks and Regards,
Nitish Kumar
Tavant Technologies Ltd
Bangalore


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 14, 2005 11:53 AM
To: user@struts.apache.org
Subject: html:option



I want 
<html:option selected="true"> xxx </html:option>

Is there a way out to select a default value at design time?  (I hate 
javascript!!....... lol. )


Amitava Basak
ASE
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to