struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julia Weaver <>
Subject <html:select
Date Thu, 06 May 2004 00:38:14 GMT

Please help, I have following in the jsp:

<html:select property="idCode">
					   <html:option value="T ">T</html:option>
					   <html:option value="C ">C</html:option>
					   <html:option value="D ">D</html:option>
					   <html:option value="E ">E</html:option>
					   <html:option value="L ">L</html:option>


But when I select any value from drop down, it always
get the first option value (which is "T ", such as the
following) and saved to the database, could you please
help me?

<select name="idCode">
<option value="T " selected="selected">T</option>
<option value="C ">C</option>
<option value="D ">D</option>
<option value="E ">E</option>
<option value="L ">L</option>		

Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

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

View raw message