Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:select problem-------

 
niks
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i m using struts 1.1

In execute method of action class when I write
System.out.println("selected value is ********"+qsform.getSelect1());
I get null.
why it is so?
I have type casted the form.I get values correct.
My jsp code is
<html:select property="select1" onchange="checkSelect1()">
<html ption value="0">(select)</html ption>
<html ptions property="productList1"/>
</html:select>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic