URL、URI、ServletPath、ContextPath示例
String servletPath = request.getServletPath();String uri = request.getRequestURI();String url = request.getRequestURL().toString();String contextPath = request.getContextPath();
原创
2019-12-24 16:20:52 ·
437 阅读 ·
0 评论