servlet中HttpServletRequest对象的get方法返回的值

来源:互联网 发布:制作海报用什么软件 编辑:程序博客网 时间:2024/04/28 20:11

记录一下,用的时候方便查找,记不住。

contextPath=/webs
contentType=null
localAddr=192.168.1.4
localName=issuser-PC
localPort=8080
pathInfo=null
pathTranslated=null
protocol=HTTP/1.1
queryString=null
realPath=C:\app\apache-tomcat-7.0.26\webapps\webs
remoteAddr=192.168.1.5
remoteHost=192.168.1.5
remotePort=49542
remoteUser=null
requestURI=/webs/WEB-INF/page/index.jsp
serverName=192.168.1.4
serverPort=8080
servletPath=/WEB-INF/page/index.jsp

原创粉丝点击