This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting value from dropdown list
 
Similar Threads
display result in the same jsp page
dynamic drop down list
Show the selected value in dropdown again
Hiding group of rows depending on dropdown list
How to create a h:selectOneMenu with a default value?