On 1/12/06, Asad Habib <[EMAIL PROTECTED]> wrote:

> Hello. I am using the select and options tags in one of my JSP pages. My
> first option has the value attribute set to an empty string (i.e.
> value='') and the second option has the value attribute equal to 0 (i.e.
> value="0"). For some reason, when the page is accessed the first time by a
> user, the default selected value is the second option instead of the first
> option. Does anyone why this is the case? Thanks.

The framework will pre-select the option that matches the value of the
associated form property.  Make sure that the form property is set to
"" if you want that one to be selected.

If you need more help, post the <html:select> tag and the relevant
parts of the form and action classes.

--
Wendy

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

Reply via email to