From e924a6b19c2a6e0139a31a51a97ede9c1ed0d219 Mon Sep 17 00:00:00 2001
From: ulrich <undisclosed>
Date: Mon, 09 Dec 2019 08:27:36 +0000
Subject: [PATCH] .

---
 webapps/ROOT/WEB-INF/web.xml |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/webapps/ROOT/WEB-INF/web.xml b/webapps/ROOT/WEB-INF/web.xml
index b7eb294..4f27d2a 100644
--- a/webapps/ROOT/WEB-INF/web.xml
+++ b/webapps/ROOT/WEB-INF/web.xml
@@ -1,17 +1,33 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-  <description>WebBox</description>
-  <display-name>WebBox</display-name>
+  <description>Startseite</description>
+  <display-name>Startseite</display-name>
   <session-config>
     <session-timeout>
       30
     </session-timeout>
   </session-config>
+
+  <!-- Willkommensseiten -->
   <welcome-file-list>
     <welcome-file>index.html</welcome-file>
   </welcome-file-list>
+
+  <!-- Fehlerseiten -->
+  <error-page>
+    <exception-type>java.lang.Throwable</exception-type>
+    <location>/fehler.jsp</location>
+  </error-page>
+  <error-page>
+    <error-code>403</error-code>
+    <location>/nicht-erlaubt.html</location>
+  </error-page>
   <error-page>
     <error-code>404</error-code>
     <location>/fehler.jsp</location>
   </error-page>
+  <error-page>
+    <error-code>500</error-code>
+    <location>/fehler.jsp</location>
+  </error-page>
 </web-app>

--
Gitblit v1.9.3