File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:select  problem-------" Watch "html:select  problem-------" New topic

html:select problem-------


Joined: Jan 27, 2005
Posts: 4
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"/>
I agree. Here's the link:
subject: html:select problem-------
It's not a secret anymore!