You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/10/01 11:25:17 UTC

svn commit: r1527985 - in /myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp: WEB-INF/web.xml error/exception.xhtml error/throwable.xhtml

Author: lofwyr
Date: Tue Oct  1 09:25:16 2013
New Revision: 1527985

URL: http://svn.apache.org/r1527985
Log:
throwable is not allowed here

Added:
    myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp/error/exception.xhtml
      - copied unchanged from r1527924, myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp/error/throwable.xhtml
Removed:
    myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp/error/throwable.xhtml
Modified:
    myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml

Modified: myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml?rev=1527985&r1=1527984&r2=1527985&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml Tue Oct  1 09:25:16 2013
@@ -26,9 +26,7 @@
 
   <context-param>
     <param-name>javax.faces.PROJECT_STAGE</param-name>
-<!--
-    <param-value>Development</param-value>
--->
+    <!--<param-value>Development</param-value>-->
     <param-value>Production</param-value>
   </context-param>
 
@@ -181,12 +179,12 @@
 
   <error-page>
     <error-code>500</error-code>
-    <location>/faces/error/throwable.xhtml</location>
+    <location>/faces/error/exception.xhtml</location>
   </error-page>
 
   <error-page>
-    <exception-type>java.lang.Throwable</exception-type>
-    <location>/faces/error/throwable.xhtml</location>
+    <exception-type>java.lang.Exception</exception-type>
+    <location>/faces/error/exception.xhtml</location>
   </error-page>
 
   <!-- The Usual Welcome File List -->