<body>
<% String current_param ="";
String current_vaul="";
request.setCharacterEncoding("UTF-8");
Enumeration params = request.getParameterNames();
while(params.hasMoreElements()){
current_param =(String)params.nextElement();
current_vaul=request.getParameter(current_param)
%>参数名称:<%current_param%>参数值:<%=current_vaul%><br>;
<%}%>
</body>
原文:http://www.cnblogs.com/pgone/p/7593632.html