ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Java Web Applications
Subject:   404 Error
Date:   2003-05-15 10:00:34
From:   anonymous2
The previous solutions for the 404 Error will work for this servlet, meaning that you would have to include a servlet-mapping for each servlet in your application...to tedious. A better solution is to uncomment the servlet-mapping element for the invoker servlet in the [CATALINA_HOME]\conf\web.xml file. Look under the section "Built In Servlet Mappings" you should find the subsection comment "The mapping for the invoker servlet". Uncomment the servlet-mapping element, it's commented out in version 4.1.18, I don't know about any of the other versions. Fire up Tomcat and it should now be able to find your servlets...life is good.

1 to 2 of 2
1 to 2 of 2