GeeCON Prague 2014*
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


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
 
GeeCON Prague 2014
 
subject: Pass select box value from jsp to action class