r1684 - xwiki/trunk/web/standard/src/main/webapp/WEB-INF

Marta Girdea marta_girdea at users.forge.objectweb.org
Wed Dec 6 15:19:40 CET 2006


Author: marta_girdea
Date: 2006-12-06 15:19:39 +0100 (Wed, 06 Dec 2006)
New Revision: 1684

Modified:
   xwiki/trunk/web/standard/src/main/webapp/WEB-INF/web.xml
Log:
XWIKI-477: Add a 404 handler

- modified web.xml
The document Main.DocumentDoesNotExist must be created in the database.



Modified: xwiki/trunk/web/standard/src/main/webapp/WEB-INF/web.xml
===================================================================
--- xwiki/trunk/web/standard/src/main/webapp/WEB-INF/web.xml	2006-12-06 14:08:05 UTC (rev 1683)
+++ xwiki/trunk/web/standard/src/main/webapp/WEB-INF/web.xml	2006-12-06 14:19:39 UTC (rev 1684)
@@ -111,11 +111,11 @@
       <error-code>500</error-code>
       <location>/error.jsp</location>
     </error-page>
+    -->
     <error-page>
       <error-code>404</error-code>
-      <location>/error.jsp</location>
+      <location>/xwiki/bin/view/Main/DocumentDoesNotExist</location>
     </error-page>
-    -->
 
     <!-- Example Application Tag Library Descriptor
 <taglib>





More information about the Xwiki-notifications mailing list