The errorPage attribute of the page directive enables you to handle errors by calling a portal component as well as another Web resource, such as a JSP or HTML page.
The following is an example of a page directive:
Syntax
<%@ page errorPage="prt:component:MyComponent" %>
The following are the types of values that are valid for the errorPage attribute:
Type of Resource |
Syntax |
---|---|
JSP or HTML page in the current portal component |
error.html or error/myError.html The value is a path, relative to the JSP page. |
JSP or HTML page in another portal component |
prt:componentres:MyApp.MyComp,error/error.jsp |
Portal component |
prt:component:MyApp.MyComp MyApp.MyComp is a full-qualified name of a component. |