<%@ page contentType="text/html; charset=gb2312" import="java.util.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>示例程序：显示所有参数</title>
<style type="text/css">
<!--
.style1 {
	font-size: 18px;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<table width="450" border="0" cellspacing="0" cellpadding="0">
  <tr align="center">
    <td colspan="2"><span class="style1">示例程序：显示所有参数</span></td>
  </tr>
  <%
  request.setCharacterEncoding("gb2312");
  Enumeration params = request.getParameterNames() ;
  while ( params.hasMoreElements() ){
  String name = (String) params.nextElement();
  String value =  request.getParameter(name);
  %>
  <tr>
    <td width="121">&nbsp;<%=name%></td>
    <td width="329">&nbsp;<%=value%></td>
  </tr>
  <%
  }
  %>
</table>
</body>
</html>
