*
The moose likes Struts and the fly likes html:select  problem------- Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:select  problem-------" Watch "html:select  problem-------" New topic
Author

html:select problem-------

niks
Greenhorn

Joined: Jan 27, 2005
Posts: 4
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>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: html:select problem-------