request 是请求内置对象
方法有
String getParamete()
Map getParameterMap()
Enumeration getParameterNames(); 获取全部的参数
String[] geParameterValues()
String getHeader(String name)
Enumeration<String> getHeaderNames()
Enumeration<String> getHeaderName(String header)
int getIntHeader(String name)
<% Enumeration<String> headerNames =request.getHeaderNames(); while(headerNames.hasMoreElements()) { String headerName=headerNames.nextElement(); out.PRintln(headerName+"_________________________"+request.getHeader(headerName)+"<br>"); }%>
新闻热点
疑难解答