From 47e1c8b541dae541c4f0de14e83e107612226c84 Mon Sep 17 00:00:00 2001 From: Ulrich <undisclosed> Date: Thu, 16 Apr 2020 15:32:26 +0000 Subject: [PATCH] Windows Beispiel-Skript hinzugefuegt --- 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