Apr 18th, 2006, 07:38 AM
How can I access DispatcherServlet context from JSP
I'm wrapping an existing application with Spring using several DispatcherServlets. The different DispatcherServlets wrap different instances of the application (in our case the instances are regionally based). I'm placing beans that are populated with region specific parameters into each dispatcher servlets xml. I then need to access the DispatcherServlet context from within JSP pages and from within our servlets so the existing application can utilize the appropriate regional parameters. I can access the root ApplicationContext easily using the WebApplicationContextUtils but I've been unable to track down a way to get to the DispatcherServlet context.
Last edited by jgerbracht; Apr 18th, 2006 at 10:21 AM.