I guess I must be doing something monumentally dumb here, but I just cannot get a simple error page to work.
This is the scenario :
hello.jsp has a "divide by zero" error in it. In the web.xml, java.lang.ArithmeticException is mapped to math.html. But when I access hello.jsp, instead of math.html showing up, The browser just shows a standard Http 500 error.
web.xml (relevant portion)
The website cannot display the page
Most likely causes:
•The website is under maintenance.
•The website has a programming error.
"A problem well stated is a problem half solved.” - Charles F. Kettering
SCJP 6, OCPJWCD