Greetings,
I am having a bit of a problem with something that I "think" should be relatively straight-forward. I would like to map a custom exception wrapped in a ServletException to a specialized static HTML error page. However,
Tomcat 4.1 and 5.0 don't want to seem to reroute my exception to the page.
Here is my web.xml:
As you can see, I have declared an ExceptionServlet that echoes some data to the console and then throws a ServletException wrapping a DumbException on doGet. The code for the ExceptionServlet is as follows:
The custom exception, DumbException, is as follows:
In my Tomcat webapps directory, TestModule/WEB-INF/classes/test contain my classes, and the output from the ExceptionServlet shows up in the console, but the browser does not display the static web pages, which exist in TestModule/error_pages.
I'm a little baffled? Any ideas on what I'm doing wrong?
TIA,
Jason
[ April 27, 2004: Message edited by: Jason Mowat ]
[ April 27, 2004: Message edited by: Jason Mowat ]