!--a11y-->
Configuring Custom Error Response
Pages 
You can configure your Web Container to respond to the client with custom error pages when an error occurs (either HTTP error or a Java exception in dynamic components execution). You merely have to map an HTML page either to a particular HTTP response status code, or to a Java exception in the web.xml descriptor of your Web application. You can configure an error page for a custom HTTP response code. In this case, you must first setup this response code as described in Defining Custom HTTP Response Status Codes.
On the the web.xml screen, proceed as follows:
...
1. Open the Others screen.
2. Select Error-Pages and then choose Add to add a new error page.
3. Enter the location of the error page file in the Location field.
4. If you want to:
¡ Map the error page to an HTTP response status code, select Error Code and enter the code number in the field.
¡ Map the error page to a Java exception, select Exception Type and enter the fully qualified name of the exception class into the field.
