Error pages for JavaServer Pages

When a client request is processed, runtime errors can occur in the body of the implementation class for a JSP or in Java code that is called by the page. You can handle these exceptions in the JSP code using the Java language’s exception mechanism.