request 方法说明

request method: <%=request.getMethod()%>


URI: <%=request.getRequestURI()%>


PROTOCOL:<%=request.getProtocol()%>


Servlet PATH:<%=request.getServletPath()%>


path info:<%=request.getPathInfo()%>


path translated:<%=request.getPathTranslated()%>


query string:<%=request.getQueryString()%>


content length:<%=request.getContentLength()%>


content type:<%=request.getContentType()%>


server name:<%=request.getServerName()%>


server port:<%=request.getServerPort()%>


romote user:<%=request.getRemoteUser()%>


remote address:<%=request.getRemoteAddr()%>


remote host:<%=request.getRemoteHost()%>


authorization scheme:<%=request.getAuthType()%>


brower you are using:<%=request.getHeader("User-Agent")%>

 

request method:POST
URI:/webroot/main.jsp
PROTOCOL:HTTP/1.1
Servlet PATH:/main.jsp
path info:null
path translated:null
query string:null
content length:-1
content type:null
server name:localhost
server port:8080
romote user:null
remote address:127.0.0.1
remote host:127.0.0.1
authorization scheme:null
brower you are using:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)

你可能感兴趣的:(jsp,.net,windows,servlet,Scheme)