![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
路径问题
taiguolaotu
这个作者很懒,什么都没留下…
展开
-
由request.getRequestURL()引发的一系列路径问题 第二版
request.getScheme() 获取的是httprequest.getServerName() 获取的是ip 如果写的是localhost,那么获取到的就是localhostrequest.getServerPort() 获取到的是端口号话不多说,直接上图。有兴趣的同学可以参考的我由request.getRequestURL()引发的一系列路径问题 第一版今天有点累了, 就到这里了。 谢谢大家。 爱你们!!!...原创 2020-06-18 20:24:34 · 917 阅读 · 0 评论 -
由request.getRequestURL()引发的一系列路径问题
话不多说,直接说重点。 request.getRequestURL(); request.getRequestURI(); request.getContextPath(); request.getServletPath();对应的路径分别是:http://localhost:8081/yangquan/ManagerSystem/SystemManager/UserManager/...原创 2020-04-07 22:01:21 · 3051 阅读 · 0 评论