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.
Main Topics Newest First

Showing messages 1 through 2 of 2.

  • 404 Error
    2003-10-08 08:48:23  anonymous2 [View]

    Well done for putting up this info about HTTP 404 messages. I couldn't find it anywhere else on the web. Why did Tomcat comment out the invoker servlet mapping in the latest releases? They should clearly warn people that their servlets wont de deployed until they uncomment this mapping. Thanks again!
  • 404 Error
    2005-10-14 18:20:53  rizalina83 [View]

    Hi. I don't know who you are, but I just wanted to thank you. I've been wrestling with Tomcat for the past 3 weeks, and I could never get the darn thing working. Well, up until I read your post. I just wanted to Thank You! Heck, you helped me more than my professor!

    Kudos,

    Riza