Using single spring application context for web app

Posted by Ramo on Stack Overflow See other posts from Stack Overflow or by Ramo
Published on 2010-03-22T11:58:23Z Indexed on 2010/03/22 12:01 UTC
Read the original article Hit count: 249

Filed under:

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 web>app>dao 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

© Stack Overflow or respective owner

Related posts about spring