For example, I have following set up in web.xml:
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/errorPage.jsp</location>
</error-page
<error-page>
<exception-type>java.lang.ArithmeticException</exception-type>
<location>/arithmeticErrorPage.jsp</location>
</error-page>
My question is, when ArithmeticException happens, which error page does it go to?
Thanks.
Jenny