wood burning stoves 2.0*
The moose likes Struts and the fly likes Pass select box value from jsp to action class 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 "Pass select box value from jsp to action class" Watch "Pass select box value from jsp to action class" New topic
Author

Pass select box value from jsp to action class

kashwini Kulkarni
Ranch Hand

Joined: Aug 07, 2009
Posts: 63
Hello,

I have a select box in my jsp.

<html:select name="editProductForm" property="mktStrategy.marketStrategyId">
<htmlptions collection="mktList" property="marketStrategy" />
</html:select>


I want the value of the selected Item in my action class.
Can anyone please tell me the correct way to do this?




Thanks in Advance
Kashwini
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pass select box value from jsp to action class
 
Similar Threads
Struts HTML Taglib Issue
Problem passing parameter with optionsCollection
html:select problem-------
Struts: multiple selections with html:select
Dependent drop down list using Struts 1.2 with Ajax DWR