struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "leonZ" <>
Subject Re: How can I set the defualt selection?
Date Mon, 07 Jul 2003 02:44:19 GMT
I make it more clear here:

A normal html:
<select name="select1">
          <option value="1">first</option>
          <option value="2" SELECTED>second</option>
          <option value="3">third</option>

how can I use the 'SELECTED' to set a defualt option with struts tags.
<html:select property="select1">

"leon" <> wrote in message
> I am a beginner of struts. I can't use the 'selected' property of the
> tag in struts to set the default selection like I used it in a normal
> It's happened in 'checked' property of struts radio tag. Could you tell me
> how to set a defualt selection.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message