Hi
set the value of the property in your action class, that is prepopulate the
form bean, the value that u give to the property will get selected
automagically in your JSP

Deepank
----- Original Message -----
From: "Cohan, Sean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2002 8:07 AM
Subject: html:select / option defaultSelected or selected


> Is there any way I can specify the defaultSelected or selected property
for
> an html:select or an html:option?  I use the html:options to populate the
> options with an ArrayList of beans.  I need to also specify the value that
> should be initially selected.
>
> Thanks.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to