Tomcat 4.0 doesn't find servlet classes
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   james_tasker
Posted On:   Saturday, November 10, 2001 07:55 AM

Does anyone have any ideas why Tomcat 4.0 doesn't find servlet classes?


I'm using tomcat 4.0 I have created a context and this seems OK - the default index.html is displayed OK. My class file (MyServlet.class)is located in Web-inf/classes and I'm trying to access it using the following URL http://localhost:8080/MyContext/servlet/MyServlet
Whenever I try this I get 404 page not found

Does anyone have any ideas?

Re: Tomcat 4.0 doesn't find servlet classes

Posted By:   AlessandroA_Garbagnati  
Posted On:   Saturday, November 10, 2001 09:59 AM

James,

The location you're using is the right one. The only thing I can tell you is to check that WEB-INF is all uppercase. It's a common error on windows, but java is fortunately case sensitive, and this could be the problem.
About | Sitemap | Contact