getRequestURI getRequestURL getContextPath getSe

引用
<%= request.getRequestURI() %>
<br>
<%=request.getRequestURL() %>
<br>
<%=request.getContextPath() %>
<br>
<%=request.getServletPath() %>


引用
/introWeb(20080913)/WEB-INF/pages/project/category/selectAll.jsp
http://localhost:8080/introWeb(20080913)/WEB-INF/pages/project/category/selectAll.jsp
/introWeb(20080913)
/WEB-INF/pages/project/category/selectAll.jsp

你可能感兴趣的:(jsp,Web)