Apr 9th, 2008, 11:38 AM
How to get application context for a servlet context
How to get an application context of a dispatcher servlet?
In other words, I want to get a bean defined in <servletName>-servlet.xml file, NOT in the ROOT application context specified directly in web.xml (applicationContext.xml by default).
The root application context is returned by WebApplicationContextUtils.getWebApplicationContex t(ServletContext) but that's not what I need - I need one of it's child contexts.
Apr 9th, 2008, 01:27 PM