InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.8: Administering Web modules (overview) >
6.6.8.0: Web module properties >
6.6.8.0.9: Assembly properties for error pages

6.6.8.0.9: Assembly properties for error pages

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. The 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.
Go to previous article: 6.6.8.0.8: Assembly properties for context parameters Go to next article: 6.6.8.0.10: Assembly properties for MIME mapping

 

 
Go to previous article: 6.6.8.0.8: Assembly properties for context parameters Go to next article: 6.6.8.0.10: Assembly properties for MIME mapping