Re: svn commit: r1347559 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1347559 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml

Jacques Le Roux
Administrator
Don't worry Jacopo,

I'm handing it...

Jacques

From: <[hidden email]>

> Author: jacopoc
> Date: Thu Jun  7 10:26:40 2012
> New Revision: 1347559
>
> URL: http://svn.apache.org/viewvc?rev=1347559&view=rev
> Log:
> Fixed xml validation for misplaced "error-page" element added by Hans in rev. 1208335.
> Unfortunately the bug has been backported by Jacques to the 11.04 branch but I don't have time to backport the fix to the branches
> at the moment.
>
> Modified:
>    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml
>
> Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml?rev=1347559&r1=1347558&r2=1347559&view=diff
> ==============================================================================
> --- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml (original)
> +++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml Thu Jun  7 10:26:40 2012
> @@ -100,11 +100,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 -->
>     <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> -->
> @@ -162,4 +157,9 @@ 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>
>
>