Results 1 to 4 of 4

Thread: Possible to have xxx-servlet.xml somewhere besides WEB-INF?

  1. #1
    Join Date
    May 2005
    Location
    SLC, UT, USA
    Posts
    7

    Default Possible to have xxx-servlet.xml somewhere besides WEB-INF?

    Is is possible/how do you put the servlet config file somewhere else besides the default "WEB-INF/myDispatcherServletName-servlet.xml"?

    Thanks. Garth.

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    You can specify an init-param called contextConfigLocation in the web.xml for the DispatcherServlet.

    See the DispatcherServlet in the ref. docs.

  3. #3
    Join Date
    May 2005
    Location
    SLC, UT, USA
    Posts
    7

    Default

    That did it. Thanks for taking the time to answer/point out the obvious to the mentally challenged - I swear I read through that and I searched the forum...

  4. #4
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    No sweat

Similar Threads

  1. Replies: 15
    Last Post: Apr 23rd, 2009, 02:30 PM
  2. Replies: 3
    Last Post: Sep 9th, 2005, 06:17 AM
  3. Replies: 3
    Last Post: Aug 12th, 2005, 12:36 PM
  4. Replies: 12
    Last Post: Jun 7th, 2005, 03:08 AM

Posting Permissions

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