request.getContextPath()得到的是什么路径?
时间:2020-06-09 00:45:21
收藏:0
阅读:315
request.getContextPath()得到的是项目的虚拟路径:
例如
访问路径为:http://localhost:8080/blue/response.jsp
request.getContextPath()得到的就是 /blue
原文:https://www.cnblogs.com/aaaazzzz/p/13069708.html
评论(0)