Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

radio buttons-storing different values  RSS feed

 
Aparna Ram
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 3 radio buttons with the same name and different values. I would like the value to be displayed on my Tomcat console when that particular radio button is clicked.
How do I go about doing the same?

I am only able to display the value if the same value is used for all three radio buttons. I do not know what I should do for 3 different values.
Kindly help.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The button that is checked is the only button that will send a value.


[ June 26, 2007: Message edited by: Ben Souther ]
 
Aparna Ram
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I forgot to mention the most important part.. I would like to implement the same using bean. So I cannot go ahead and use .

How do I go about now?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you getting the form parameters to your bean?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!