Author: jleroux
Date: Thu Jun 7 18:29:48 2012
New Revision: 1347748
URL:
http://svn.apache.org/viewvc?rev=1347748&view=revLog:
Follow r1347559
Fixes xml validation for misplaced "error-page" element added by Hans in rev. 1208335. and backported by myself
Modified:
ofbiz/branches/release11.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml
Modified: ofbiz/branches/release11.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml?rev=1347748&r1=1347747&r2=1347748&view=diff==============================================================================
--- ofbiz/branches/release11.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml (original)
+++ ofbiz/branches/release11.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml Thu Jun 7 18:29:48 2012
@@ -85,10 +85,6 @@ under the License.
<url-pattern>/*</url-pattern>
</filter-mapping>
- <error-page>
- <error-code>404</error-code>
- <location>/error/404.jsp</location>
- </error-page>
<listener><listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
<!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface -->
@@ -147,4 +143,10 @@ under the License.
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
+
+ <error-page>
+ <error-code>404</error-code>
+ <location>/error/404.jsp</location>
+ </error-page>
+
</web-app>