javax.servlet.http.HttpServletRequest一些路径
HttpServletRequest request
请求:http://localhost:8080/hello
request.getRequestURI() —— /hello
request.getRequestURL() —— http://localhost:8080/hello
request.getServletPath() —— /hello
request.getRemote...
原创
2020-01-08 11:19:28 ·
198 阅读 ·
0 评论