From c81724d9a871f360c102a90de1bad9cd556ec0ca Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Sat, 07 Dec 2019 14:00:25 +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