<INPUT TYPE="radio" NAME="Language" VALUE="EN" CHECKED> English
<INPUT TYPE="radio" NAME="Language" VALUE="IT"> Italian

Your Java code would look like this:
        String language = request.getParameter("Language");

And the variable Language would contain the string "EN" or "IT", depending
upon which radio button was clicked.

Jeff



-----Original Message-----
From: ravi [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 29, 1999 2:27 AM
To: [EMAIL PROTECTED]
Subject: Getting value from Checkbox,radio button


Hello all
using
getParameter("xyz");
I could get the value of text field
How can i get the value of the checked item and checked radio button
thanks in advance
ravi

___________________________________________________________________________
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

Reply via email to