Display nicer error page if exceptions are thrown by the container
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 22 Jan 2008 09:03:52 +0000 (09:03 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 22 Jan 2008 09:03:52 +0000 (09:03 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2595 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

resources/WEB-INF/web.xml

index b7065ab..475882c 100644 (file)
@@ -76,8 +76,8 @@
     </servlet-mapping>
     
     <error-page>
-        <exception-type>java.lang.Exception</exception-type>
-        <location>/idp-error.jsp</location>
+        <error-code>500</error-code>
+        <location>/idp-exception.jsp</location>
     </error-page>
     
     <error-page>