Request方法介绍(一)

来源:互联网 发布:淘宝买水果拒收 编辑:程序博客网 时间:2024/06/17 09:23

假设访问路径为:http://localhost:8080/nap/index.jsp

request.getRequestURI() 返回值类似:/nap/index.jsp

request.getRequestURL() 返回值类似:http://localhost:8080/nap/index.jsp



0 0
原创粉丝点击