pls display contents of your xwork.xml and the configuration of the spring listener you are referencing in web.xml
http://www.opensymphony.com/webwork/wikidocs/Other%20Spring%20Integration.ht ml Thanks Martin- ----- Original Message ----- Wrom: TLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBR To: <user@struts.apache.org> Sent: Saturday, March 29, 2008 9:15 PM Subject: Initializing Actions from Spring Hi, I am trying to initialize Struts2 Actions from Spring. I have done this successfully using struts2 xml configuration files. However, I did not have the same success when using annotations. Could anyone please explain how I can achieve this. Here is my approach: In file MainpageAction.java I have: .. @Result( name="success", value="mainpage.page", type=TilesResult.class ) .. In applicationContext.xml I have: … <bean id="mainpageAction" class="com.gbsoft.belfin.communitypages.actions.mainpage.MainpageAction" autowire="autodetect" singleton="false"> <constructor-arg> <value>Buenos Dias!</value> </constructor-arg> </bean> … Thank you in advance for your help -- View this message in context: http://www.nabble.com/Initializing-Actions-from-Spring-tp16377674p16377674.h tml Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]