() tco character protoc rip eal standards eba
Description:
ApplicationProjectName:MedicineMs
login.jsp[action:login|method:get] to loginServlet
Output:
request.getAuthType()nullrequest.getCharacterEncoding()UTF-8request.getContentLength()-1request.getContextPath()/MedicineMSrequest.getLocalAddr()0:0:0:0:0:0:0:1request.getLocalName()0:0:0:0:0:0:0:1request.getLocalPort()8080request.getMethod()GETrequest.getPathInfo()nullrequest.getProtocol()HTTP/1.1request.getQueryString()accountNo=staff002&password=12345678request.getRealPath()D:\Tomcat\MY_webAPPS\MedicineMSrequest.getRequestURI()/MedicineMS/loginrequest.getRequestedSessionId()3210E9844068DDD59A7B3DAB0E195393request.getScheme()httprequest.getServletPath()/loginrequest.getSession()[email protected]request.getUserPrincipal()null
Java EE之Request部分方法使用示例
来源: http://www.bubuko.com/infodetail-2115341.html