This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes How can i get selected radio button value using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How can i get selected radio button value using jsp" Watch "How can i get selected radio button value using jsp" New topic
Author

How can i get selected radio button value using jsp

R Sugan
Ranch Hand

Joined: Mar 13, 2009
Posts: 48
Hi,
I am trying to get selected radio button value using jsp.Actually am displaying my database value through radio button using jsp.I need to selected radio button value and am also need to text box value through submit button at the same time. Finally the selected value transfer into another one jsp page.I can able to get dynamic text box value but i can't able to get the radio button value.Can someone help me to do solve this problem?

sample.jsp


trans.jsp


Thanks.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Too much irrelevant code. Won't read. For the next time please post an SSCCE.

To the point, give the input element a name and use this name in HttpServletRequest#getParameter().
 
 
subject: How can i get selected radio button value using jsp
 
Similar Threads
Error comes whilke compiling the jsp page
JSP Error
Getting error
How to getParameter value
Doubts in jsp