File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Java 8 in Action this week in the Java 8 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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:select problem-------
 
Similar Threads
form validation error
html:select and html:options question
Struts html:select error
HTML:SELECT
how to set option to default ?