Java Tutorial/JSP/Form RadioButton
Версия от 17:44, 31 мая 2010; (обсуждение)
Read Form RadioButtons
index.jsp
<HTML>
<HEAD>
<TITLE>Submitting Radio Buttons</TITLE>
</HEAD>
<BODY>
<H1>Submitting Radio Buttons</H1>
<FORM ACTION="basic.jsp" METHOD="post">
<INPUT TYPE="radio" NAME="radios" VALUE="radio1" CHECKED>
Radio Button 1
<BR>
<INPUT TYPE="radio" NAME="radios" VALUE="radio2">
Radio Button 2
<BR>
<INPUT TYPE="radio" NAME="radios" VALUE="radio3">
Radio Button 3
<BR>
<INPUT TYPE="submit" VALUE="Submit">
</FORM>
</BODY>
</HTML>