struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject svn commit: r517408 - /struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml
Date Mon, 12 Mar 2007 21:32:02 GMT
Author: husted
Date: Mon Mar 12 14:32:01 2007
New Revision: 517408

URL: http://svn.apache.org/viewvc?view=rev&rev=517408
Log:
WW-1754 "The current struts-default.xml prevents TypeConverter wiring." Swap ObjectFactory
and XWorkConverter load order per suggestion of Nicolas Berthet.

Modified:
    struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml

Modified: struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml
URL: http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml?view=diff&rev=517408&r1=517407&r2=517408
==============================================================================
--- struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml (original)
+++ struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/struts-default.xml Mon Mar
12 14:32:01 2007
@@ -45,8 +45,8 @@
     <bean class="org.apache.struts2.dispatcher.FilterDispatcher" static="true" />
     <bean class="org.apache.struts2.views.util.ContextUtil" static="true" />
     <bean class="org.apache.struts2.views.util.UrlHelper" static="true" />
-    <bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />
     <bean class="com.opensymphony.xwork2.ObjectFactory" static="true" />
+    <bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />
 
     <package name="struts-default">
         <result-types>
@@ -70,6 +70,7 @@
             <interceptor name="autowiring" class="com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptor"/>
             <interceptor name="chain" class="com.opensymphony.xwork2.interceptor.ChainingInterceptor"/>
             <interceptor name="conversionError" class="org.apache.struts2.interceptor.StrutsConversionErrorInterceptor"/>
+            <interceptor name="cookie" class="org.apache.struts2.interceptor.CookieInterceptor"/>
             <interceptor name="createSession" class="org.apache.struts2.interceptor.CreateSessionInterceptor"
/>
             <interceptor name="debugging" class="org.apache.struts2.interceptor.debugging.DebuggingInterceptor"
/>
             <interceptor name="externalRef" class="com.opensymphony.xwork2.interceptor.ExternalReferencesInterceptor"/>



Mime
View raw message