From 629a00091f87db83afafdfab4d24189bb97ddeb6 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Sat, 07 Dec 2019 16:13:20 +0000 Subject: [PATCH] . --- webapps/ROOT/WEB-INF/web.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/webapps/ROOT/WEB-INF/web.xml b/webapps/ROOT/WEB-INF/web.xml index b7eb294..866b57d 100644 --- a/webapps/ROOT/WEB-INF/web.xml +++ b/webapps/ROOT/WEB-INF/web.xml @@ -7,11 +7,27 @@ 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