Announcement Announcement Module
No announcement yet.
Accessing DispatcherServlet context from JSP Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Accessing 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.
    Any ideas,
    Last edited by jgerbracht; Apr 18th, 2006, 11:21 AM.