当页面跳转是绝对路径有时会涉及到命名空间,所以在写跳转页面时
jsp
request.getContextPath()
ognl
${pageContext.request.contextPath}
jstl
<c:url value="/styles/style.css"/>
可以采用如上的方式
转载于:https://blog.51cto.com/mydqingwa/794148
当页面跳转是绝对路径有时会涉及到命名空间,所以在写跳转页面时
jsp
request.getContextPath()
ognl
${pageContext.request.contextPath}
jstl
<c:url value="/styles/style.css"/>
可以采用如上的方式
转载于:https://blog.51cto.com/mydqingwa/794148