<%@ page contentType="text/html; charset=gb2312"%>
<%
response.setHeader("Cache-Control","no-cache"); 
response.setHeader("Cache-Control","no-store"); 
response.setDateHeader("Expires", 0); 
response.setHeader("Pragma","no-cache");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">

<title>示例程序：读取表单中所有参数</title>
<style type="text/css">
<!--
.style3 {
	font-size: 18px;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<table width="500" border="0" cellspacing="0" cellpadding="0">
  <form name="theform" action="showparams.jsp" method="post">
  <tr>
    <td align="center"><span class="style3">示例程序：读取表单中所有参数</span></td>
  </tr>
  <tr>
    <td><table width="500" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="121" align="right">姓名：</td>
        <td width="379">&nbsp;<input name="name" type="text" id="name" size="16"></td>
      </tr>
      <tr>
        <td align="right">性别：</td>
        <td>&nbsp;<input name="gender" type="radio" value="男">
          男 
            &nbsp;<input name="gender" type="radio" value="女"> 
            女 </td>
      </tr>
      <tr>
        <td align="right">年龄：</td>
        <td> &nbsp;<input name="age" type="text" id="age" size="6"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="499" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="120" align="right">爱好：</td>
        <td width="379">&nbsp;<input name="interest" type="checkbox" id="interest" value="电影">
          电影 
            <input name="interest" type="checkbox" id="interest" value="音乐">
音乐
<input name="interest" type="checkbox" id="interest" value="体育">
体育 
<input name="interest" type="checkbox" id="interest" value="游戏">
游戏</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center"><input type="submit" name="Submit" value="提交"></td>
  </tr>
  </form>
</table>
</body>
</html>
