Results 1 to 3 of 3

Thread: loading application context in tomcat

  1. #1

    Default loading application context in tomcat

    i have an application that uses spring applicaiton context to get bean
    where should i put in tomcat so that its loaded whenever i start it?

  2. #2

    Default

    When your application configuration xml files are defined in your web.xml they do not need to be configured in the servlet container. When Tomcat reads the web.xml on applicaiton start up it will start the application context based on the config files supplied in web.xml.

  3. #3
    Join Date
    Sep 2004
    Posts
    602

    Default

    Quote Originally Posted by yogarajkhanal View Post
    i have an application that uses spring applicaiton context to get bean
    where should i put in tomcat so that its loaded whenever i start it?
    See the section entitled "Convenient ApplicationContext instantiation for web applications" in the documentation.

Tags for this Thread

Posting Permissions

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