Re: getting parameter value of radio button
Nandish A <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <01C2F48D.09D4C3E0@NANDISH> |
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