<!--查看输出信息-->
<% System.out.println("Header...."); Enumeration<String> e = request.getHeaderNames(); String key; while(e.hasMoreElements()){ key = e.nextElement(); System.out.println(key+"="+request.getHeader(key)); } System.out.println("Attribute...."); e = request.getAttributeNames(); while(e.hasMoreElements()){ key = e.nextElement(); System.out.println(key+"="+request.getAttribute(key)); } System.out.println("Parameter...."); e = request.getParameterNames(); while(e.hasMoreElements()){ key = e.nextElement(); System.out.println(key+"="+request.getParameter(key)); } %>
不知道这篇中判断大小写的是不是对的:
http://yhjhappy234.blog.163.com/blog/static/3163283220113995552337/
相关文章:http://lavafree.iteye.com/blog/1559183