I wasn't sure which forum this was best suited for, so my apologies if this is the wrong place. I'm trying to catch HTTP Error Responses like 404, 500, etc using the error-page element in my deployment descriptor.
For example I have this in my web.xml file:
When I enter in a url like http://localhost:8080/myapp/nonsense,
where nonsense doesn't exist, I get my browser's or container's response depending on the error code instead the error.jsp page I've prepared.
How can I properly catch these?
[ June 05, 2007: Message edited by: Jenn Person ]