Custom error page is not loaded
I got the web.xml > pages tab > error pages > add
Then I added the values for error page location and exception type as follows:
Error page location : /Error.jsp
Exception type: java.jang.ArithmeticException
Now I created Test.jsp with a button. The action method of the button is having this statement: float a =1/0;
Now I tested my application by clicking the button at Test.jsp. Now Error.jsp is not loaded but the usual error handling page is loaded !! Why the Error.jsp is not loaded? Am I missing anything?
Thank you.

