In Spring Web MVC, DispatcherServlet class works as the front controller. It is responsible for managing the flow of the spring MVC application.
DispatcherServlet is also like normal servlet need to be configured in web.xml