wood burning stoves 2.0*
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
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().
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can i get selected radio button value using jsp