The tag has an attribute value.
http://struts.apache.org/userGuide/struts-html.html#select
The value to compare with for marking an option selected. [RT Expr]
HTH,
Glenn
<[EMAIL PROTECTED]>
27/09/2005 12:08 PM
Please respond to
"Struts Users Mailing List"
To
cc
Subject
u
From: <[EMAIL PROTECTED]>
This works fine and I can save the correct value to the database. The
question I have is how do I display the same option tag when updating
the user and the details are returned from a database.
The same JSP snippet you posted should work in both the 'add' and 'edit'
Hi All,
I am using the html option tag embedded within the html select tag to
select a value from a drop down list as follows:
Mr
Mrs
This works fine and I can save the correct value to the database. The
question I have is how do I display the same option
3 matches
Mail list logo