1) Set the name of the radio button and its value as same, when you submit that form
to teh servlet, say request.getParameter("radio button name")
2) Give same name to all the radio button but values set to teh text what you what to
display use loop to go through the array of radio buttons
but just check will you get the value of teh selected radio button alone and not teh
value of rest of the radio buttons
-----Original Message-----
From: Roberto Vallorani [SMTP:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 5:37 PM
To: [EMAIL PROTECTED]
Subject: getting parameter value of radio button
I premise that i caanot use Javascrip!
I have on a web page a list of radio button whose values must be the name that i write
down close to the button; I want, through a servlet, get the value of the selected
button!
Does anybody know how to do?
thanks
Roberto
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html