Error page assembly settings

Error page locations allow a servlet to find and serve a URI to a client based on a specified error status code or exception type. These properties are used if the error handler is another servlet or JSP file.

Access this page by traversing the following path in the Application Assembly Tool:

Web Modules > component_instance  

The error page properties specify a mapping between an error code or exception type and the path of a resource in the Webapp. The container examines the list in the order that it is defined, and attempts to match the error condition by status code or by exception class. On the first successful match of the error condition, the container serves back the resource defined in the Location property.

 

Error code

Indicates that the error condition is a status code.

Data type Integer

 

Error Code (Required, String)

Specifies an HTTP error code, for example, 404.

Data type String

 

Exception

Indicates that the error condition is an exception type.

Data type String

 

Exception type name (Required, String)

Specifies an exception type.

Data type String

 

Location (Required, String)

Contains the location of the error-handling resource in the Web application.

Data type String


Webapps: Links

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.