struts-user mailing list archives

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

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>

</html:select>


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>		
</select> 


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message