我的JSP文件访问路径怎么不对呢?
村北头的码农
人工智能领域新星创作者 2004-10-26 06:48:34 <%@ include file="../include/header_root.inc.jsp"%>
用来访问include文件夹下的header_root.inc.jsp文件,可上句放在data文件夹一个文件中,结果报错:
org.apache.jasper.JasperException: /weishan/data/Product.jsp(207,0) File "/weishan/data/include/footer_root.inc.jsp" not found
header_root.inc.jsp文件是放在/weishan/include/footer_root.inc.jsp。请问怎样修改
<%@ include file="../include/header_root.inc.jsp"%>才能访问正确路径?