Using single spring application context for web app
- by Ramo
Hi,
I'm using
org.springframework.web.servlet.DispatcherServlet
and
org.springframework.ws.transport.http.MessageDispatcherServlet
In the same app but each is loading own application contexts, I need to load all beans in a single application context.
The application consists of typical layers webappdao etc
What I have tried is to use one single spring-root-context.xml by setting it in the contextConfigLocation.
But didn't help, this has been an issue for me for a long time an I would appreciate any help with this.
Any online references would be a great help.
Regards
Ramo