1. Struts2路径问题的解决方案: 用绝对路径,方法有:
a. el表单式:
${pageContext.request.contextPath }
即是:“/项目名”
b. jsp脚本
<%=request.getContextPath()%>
a. el表单式:
${pageContext.request.contextPath }
即是:“/项目名”
b. jsp脚本
<%=request.getContextPath()%>