Announcement Announcement Module
Collapse
No announcement yet.
DispatcherServlet acting as a simple bean? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DispatcherServlet acting as a simple bean?

    Hello.

    I need to use more than one DispatcherServlet, that's no problem because I can map any one with a different patterns; but I want to do that without change the web.xml. For example reading the definitions of the DispatcherServlets(pattern, applicationContext-servlet) from a .properties file and creating the instances dynamically using a standard Servlet. Did any one know how can I do that?

    The core of the problem is that I can not create an instance of DispatcherServlet and use it as a simple bean to call doGet method.

    Thank's
Working...
X