问一个servlet的问题?
我写了一个servlet,ExampleServlet.class,我的web应用程序的文件夹是fxs,把ExampleServlet.class放在D:\Apache Group\Tomcat 4.1\webapps\fxs\WEB-INF\classes\里,在浏览器中,输入http://127.0.0.1:8080/fxs/servlet/ExampleServlet则不能访问出错页面如下:
HTTP Status 404 - /fxs/
type Status report
message /fxs/
description The requested resource (/fxs/) is not available.
Apache Tomcat/4.1.29
我试着把ExampleServlet.class放在D:\Apache Group\Tomcat 4.1\webapps\examples\WEB-INF\classes中,并在浏览器中输入http://127.0.0.1:8080/examples/servlet/ExampleServlet则一切正常
我还试者把examples\WEB-INF中的web.xml替代fxs\WEB-INF中的web.xml也没有用
这是什么原因呢?请高人指点迷津!不胜感激!