File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes reading values from form:select options Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "reading values from form:select options" Watch "reading values from form:select options" New topic
Author

reading values from form:select options

ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124
Hi,

i am able to display option values on the form but i am unable to bind the selected multiple values and read in a controller.

in the following way i used select tag to display values



i.e after selecting multiple values,on submitting how to read those selected multiple values from controller.

Thanks in advance.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Doesn't the <form:select> tag have like a var attribute to use as the variable to hold the multiple selected items?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
Don't get me started about those stupid light bulbs.
 
subject: reading values from form:select options