【发布时间】:2014-03-26 02:10:20
【问题描述】:
我在eclipse中的文件结构是
src/
com.test/
Servlet1.java
我试图在 JSP 中使用
来引用它<jsp:include page="com.test/Servlet1"></jsp:include>
它给了我File not found 错误。
这里的 com.test 是包名,Servlet1.java 是我要使用的 servlet 文件。
【问题讨论】:
-
您的
Servlet1的URL 映射是否已在您的web.xml中配置?