diff options
Diffstat (limited to 'web/WEB-INF/web.xml')
-rw-r--r-- | web/WEB-INF/web.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 4b85bde..a06031c 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -41,4 +41,14 @@ <servlet-name>RestletServlet</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> + + <error-page> + <error-code>404</error-code> + <location>/notfound.html</location> + </error-page> + + <error-page> + <error-code>500</error-code> + <location>/error.html</location> + </error-page> </web-app> |