Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading values from form:select options

 
ramesh kancherla
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't the <form:select> tag have like a var attribute to use as the variable to hold the multiple selected items?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic