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 Web application. 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.
-
Error Code (Required, String)
- Specifies an HTTP error code, for example, 404.
-
Exception
- Indicates that the error condition is an exception type.
-
Exception type name (Required, String)
- Specifies an exception type.
-
Location (Required, String)
- Contains the location of the error-handling resource in the Web
application.