isErrorPage attribute:
This attribute is used specify that current jsp page can be used as an error page. It can have true or false value.
Syntax:
<errorPage attribute:
This attribute is used to specify the URL of JSP page which is used as error page. An error page should have isErrorPage attribute true.
Syntax:
<Example:
welcome.jsp
errorPage.jsp
web.xml
Output:
Download this example.
Next Topic: isThreadSafe attribute in JSP page directive with example.
Previous Topic: contentType attribute in JSP page directive with example.
