
路径问题
taiguolaotu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
由request.getRequestURL()引发的一系列路径问题 第二版
request.getScheme() 获取的是httprequest.getServerName() 获取的是ip 如果写的是localhost,那么获取到的就是localhostrequest.getServerPort() 获取到的是端口号话不多说,直接上图。有兴趣的同学可以参考的我由request.getRequestURL()引发的一系列路径问题 第一版今天有点累了, 就到这里了。 谢谢大家。 爱你们!!!...原创 2020-06-18 20:24:34 · 1023 阅读 · 0 评论 -
由request.getRequestURL()引发的一系列路径问题
话不多说,直接说重点。 request.getRequestURL(); request.getRequestURI(); request.getContextPath(); request.getServletPath();对应的路径分别是:http://localhost:8081/yangquan/ManagerSystem/SystemManager/UserManager/...原创 2020-04-07 22:01:21 · 3156 阅读 · 0 评论