In which scenarios, we need multiple Dispatcher-Servlets
?
Can anyone please tell me the use cases of multiple Dispat
As DispatcherServlet is very flexible. Not only Spring MVC uses it, but also Spring WS and etc.
In general, we declare multiple dispatcher servlets when we need multiple sets of MVC configuration. For example, we may have a REST API alongside a traditional MVC application or an unsecured and a secure section of a website:
Source of this answer, read in detail...