Announcement Announcement Module
Collapse
No announcement yet.
Newbie servlet mapping question. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Newbie servlet mapping question.

    I am developing a Spring powered web application with an administration module.

    I want the administration pages to be in a sub-directory called admin and would like them to be managed by a seperate controller and spring xml configuration file.

    Can someone recommend the best way to implement this?

    Thanks

  • #2
    Create a distinct DispatcherServlet definition and servlet mapping in web.xml. Assuming that the name of that servlet is "foo" you will then have foo-servlet.xml for the Spring config specific to that servlet.

    Please refer to the Servlet spec or a Servlet reference for the supported mapping syntaxes in web.xml servlet mapping elements.

    HTH,
    Rod

    Comment

    Working...
    X