jsp中得到ContextPath的两种方法 Leave a Comment / Java / August 20, 2008 August 20, 2008 1.scriptlet <%=request.getContextPath()%> 2.el ${pageContext.request.contextPath}