This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
html:select and html:options question
form validation error
HTML:SELECT
Struts html:select error
how to set option to default ?