This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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

reading values from form:select options

ramesh kancherla
Ranch Hand

Joined: May 01, 2008
Posts: 124

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

Joined: Feb 05, 2001
Posts: 17250

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
GeeCON Prague 2014
subject: reading values from form:select options