读书人

HttpServletRequest几个惯用方法的区别

发布时间: 2012-11-08 08:48:11 作者: rapoo

HttpServletRequest几个常用方法的区别
Demo

http请求http://localhost:8080/examples/1.jsp?a=11&b=22


Jsp测试代码

ServletPath: /1.jsp
PathInfo: null //no extra path information
RealPath: D:\soft\tomcat-7.0.23\webapps\examples\
RequestURI: /examples/1.jsp
QueryString: null

读书人网 >Web前端

热点推荐