myeclipse8.5使用jsp:include提示错误<jsp:include page="head.action"></jsp:include>会提示:fragment "head.action" was not found at expected path /test/WEB-INF/page/fore/head.action
虽然项目跑起来没有问题,但这个提示很郁闷,请问怎么去掉这个错误提示?
虽然项目跑起来没有问题,但这个提示很郁闷,请问怎么去掉这个错误提示?
调试欢乐多
<jsp:include page="/head.action"></jsp:include>当然,你的action不一定直接定义在/根下,自己调整吧。
这个应该是myeclipse的验证问题的,
再次声明路径一定没有错误,再tomcat5,6都测试过,绝对没有问题,只是提示出错而已
这个提示不是警告,而是错误,怎么ingore?
<jsp:include page="/gnxw/gnxw.html" flush="true"></jsp:include>
这个页面是动态生成的,运行没用问题,就是在写代码时报文件找不到!肯定找不到,不运行就没有。