Results 1 to 3 of 3

Thread: How to get spring bean in servlet ContextListener

  1. #1
    Join Date
    Oct 2006
    Posts
    1

    Lightbulb 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. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

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

  3. #3
    Join Date
    Mar 2012
    Posts
    1

    Default

    test test test

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •