<%@ 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>
  <%
  Enumeration params = request.getParameterNames() ;
  while ( params.hasMoreElements() ){
  String name = (String) params.nextElement();
  String value =  request.getParameter(name);
  %>
  <tr>
    <td width="121">&nbsp;<%=new String(name.getBytes("iso-8859-1"),"gb2312")%></td>
    <td width="329">&nbsp;<%=new String(value.getBytes("iso-8859-1"),"gb2312")%></td>
  </tr>
  <%
  }
  %>
</table>
</body>
</html>
