You can also write a separate error page and redirect all JSPs to this page when ever an error occurs. For this add
<%@page errorPage="<your error page>"%>
in your JSPs. This will make the
JSP redirect to error page when ever an exception occurs.
------------------
--:Biju:--