File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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