Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.6
-
None
-
struts 2.0.6, xwork 2.0.1, spring-plugin 2.0.5
-
Patch
Description
Due to the apparition order in struts-default, the XWorkConverter is created before the container and this prevent any auto-wiring at converter's level.
Current order (struts-default.xml, line 46-47)
<bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />
<bean class="com.opensymphony.xwork2.ObjectFactory" static="true" />
It should be in that order
<bean class="com.opensymphony.xwork2.ObjectFactory" static="true" />
<bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />