I'm studying the topic about creating my own error pages and how to recover from that.
I've created a small test that is made of 2 JSPs. The first JSP (Result.jsp) is a page that use a custom EL that can generate a java.lang.ArithmeticException.
The second JSP is the errorPage (error.jsp).
When I declare my error-page like the code that follows, the stack trace is presented to the browser instead of my error page.
But when I declare my error page at DD like the code below it works perfectly:
Indeed, the java.lang.ArithmeticException occurs at the class that implements my custom EL.
So, that's my doubt: I'd like to know, if there is any way to map an Exception that may occur bottom at the exception stack.