This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a simple web application with two servlets LoginServlet and TestServlet. I am using Tomcat 5.0. I call the LoginServlet where im using the following line
In the web.xml for the application I have defined a error-page tag as below
In the TestServlet im just printing Hello to the response.
When i run the application, first I call LoginServlet. Now as per the error handling, TestServlet should be called and is being called. But TestServlet isn't printing "Hello" on screen. I still get 404 page cannot not found page. Can anyone help ?