This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Getting value from dropdown list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Getting value from dropdown list" Watch "Getting value from dropdown list" New topic
Author

Getting value from dropdown list

manisha makwana
Ranch Hand

Joined: Sep 14, 2007
Posts: 37
Hi,

I have a dropdown list with 14 value in dropdown, and i am using Javascript for this.When user select anyof this vlaue and click go button then i want to access this value in my dispatchaction class.I just want to access the value thats it.How to do this?What configuration i have to do in my struts-config.xml.
You can say i have a dropdown list of colors red,blue.yello.... and a go button.When user clicks on go i have to access this color value in dispatchaction class
manisha makwana
Ranch Hand

Joined: Sep 14, 2007
Posts: 37
And i am using Struts Dyanaction form
 
 
subject: Getting value from dropdown list