Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <error-page> |
Synopsis<!ELEMENT error-page ((error-code | exception-type), location)> DescriptionThe <error-page> element contains a mapping between an error code or exception type and the path of a resource in the web application. <error-page> <error-code>400</error-code> <location>/400.html</location> </error-page>
|