This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Need help with Spring 3 MVC and radio buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Need help with Spring 3 MVC and radio buttons" Watch "Need help with Spring 3 MVC and radio buttons" New topic
Author

Need help with Spring 3 MVC and radio buttons

Frank Serkland
Ranch Hand

Joined: Jun 21, 2010
Posts: 104
I'm working on learning Spring 3 MVC, and I would like to see if I'm on the right track with my understanding regarding radio buttons. I have the following in a form:



I'm trying to understand how to access the value selected from the radio buttons in my controller. I'm thinking that I need a bean like the following:




Can anyone advise me as to whether I'm on the right path?
Frank Serkland
Ranch Hand

Joined: Jun 21, 2010
Posts: 104
I think I'm on the right path here, so since no one's answering my question, I will just resolve this thread.
 
 
subject: Need help with Spring 3 MVC and radio buttons
 
Similar Threads
Value not being sent to DAO class from Struts form in JSP
problem while loading the welcome page
Setting radio button value dynamically and rendering partially after ajax request
Struts action not returning page on first click of button
A LOT of if statements