summaryrefslogtreecommitdiff
path: root/web/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'web/WEB-INF')
-rw-r--r--web/WEB-INF/web.xml10
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>