There are two attributes in JSP directive
< @page errorPage /WEB-INF/error.jsp >
Specifies a JSP page that should process any Exceptions thrown but not caught in the current page.
This Attribute is only releated for page-specific error pages only.
< @page isErrorPage true >
Indicates whether or not the current page can act as the error page for another JSP page.