Errors (WAR)

You use the Errors tab to map error codes to a resource within the web application. This defines what resource will be used (or HTML page to display) if an error occurs.

Field/Column

Explanation

Error

Enter an error code or exception type in this column. An example of an error code is HTTP error 404 (which indicates that the web server cannot find the requested file or script). When entering an exception type, enter a fully qualified class name of a Java exception type.

Path

 

Enter the location within the web application of the resource to use when this error or exception occurs, e.g. an HTML page to be displayed.

Add button

Adds a row to the Errors table for you to map an error to a resource.

Remove button

Removes the selected row from the table.

See also
  Using the Deployment Descriptors for Servlets/JSPs


Legal Notices