This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 103
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: 103
I think I'm on the right path here, so since no one's answering my question, I will just resolve this thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help with Spring 3 MVC and radio buttons
 
Similar Threads
Struts action not returning page on first click of button
Value not being sent to DAO class from Struts form in JSP
A LOT of if statements
problem while loading the welcome page
Setting radio button value dynamically and rendering partially after ajax request