Announcement Announcement Module
Collapse
No announcement yet.
How to get spring bean in servlet ContextListener Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get spring bean in servlet ContextListener

    How to get DAOProxy bean in servlet ContextListener when Apache Tomcat initializing web application context on its start up.Because I want to access Database when web application is being install.

  • #2
    WebApplicationContextUtils.getWebApplicationContex t (..);
    http://www.springframework.org/docs/...textUtils.html

    Comment


    • #3
      test test test

      Comment

      Working...
      X