Spring integration with Struts-2.0.2
Wiki page http://cwiki.apache.org/WW/spring.html demonstrate how to integrate spring with struts2, that in detail, set struts.objectFactory = spring to use spring as the object factory. This works well with the struts-2.0.1 release, but when I switch the jar file to struts2-all-2.0.2-SNAPSHOT.jar(Dec 5), I get the following error message when the server startup: ERROR - StandardContext.filterStart(3638) | Exception starting filter struts Cannot locate the chosen ObjectFactory implementation: spring - [unknown location] at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:198) Is there any change to this short hand name for spring, or I'm missing some configuration point newly added to struts-2.0.2? liukaipeng 2006-12-08
Re: Spring integration with Struts-2.0.2
On 12/7/06, liukaipeng [EMAIL PROTECTED] wrote: Is there any change to this short hand name for spring, or I'm missing some configuration point newly added to struts-2.0.2? Try using struts2-core and the struts2-spring-plugin, as Tomas suggested. (I think the 'all' jar will go away, I don't see how it can work with plugins, since each plugin needs a struts-plugin.xml file.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Spring integration with Struts-2.0.2
Thanks to Tomas and Wendy, it work fine! 2006/12/8, Wendy Smoak [EMAIL PROTECTED]: On 12/7/06, liukaipeng [EMAIL PROTECTED] wrote: Is there any change to this short hand name for spring, or I'm missing some configuration point newly added to struts-2.0.2? Try using struts2-core and the struts2-spring-plugin, as Tomas suggested. (I think the 'all' jar will go away, I don't see how it can work with plugins, since each plugin needs a struts-plugin.xml file.) -- Wendy