Hi all.
How can I select an option in a select tag like this:
<html:select property="maritalStatus">
<html:options collection="maritalstatus" name="constants"/>
</html:select>
I've got a select with three posible values of a marital status
(Single, Married and Divorced).
The select is formed with the option tag which looks for the
values of a collection containing the three states.
I've got a form of a person and I want to show wich is the
actual marital status of that person. It's like the selected option in
html.
Regards.