This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi, I am using spring xml file to do DI into STRUTS2 Action classes. I need to inject the dependency for each request to the action class. I wanted to if it is possible. I have tried it, but the setter method is called only at the time of container startup and not for every invocation of the action class. The bean in spring xml file looks like this
I tried setting the scope of the bean to prototype but that did not work either.
Could somebody please tell me if I am missing something.