I have set up a very simple test app that is just spring and struts2. It
works without a problem.

In my main application I have been using a
ClassPathXmlApplicationContext(springBeansDefinitionFile) in order to get
references to my beans. When I comment this out and add my spring-config
file to the web.xml contextConfigLocation, I can see my
'springManagedProsocActionUpdateEmail' being created and there are no errors
thrown when the server boots. Of course, when I comment out the
ClassPathXmlApplicationContext(springBeansDefinitionFile), I can't get
references to any of my beans and my app dies.

I have been looking for other ways to get references to my beans but they
all seem to involve recreating them again which throws errors. I assume I
have missed something and there is an easy way to get the reference once it
has already been created. I don't know if that will provide the ultimate
solution I am looking for but that is my current way of thinking.
-- 
View this message in context: 
http://www.nabble.com/Struts2-and-spring-plugin---Action-class--springManagedProsocActionUpdateEmail--not-found-tp18814302p18829266.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to