Spring MVC configuration
The Spring MVC architecture is designed along with a front controller servlet, the DispatcherServlet, which is a front controller pattern implementation and acts as an entry point for all of the HTTP requests and responses. The DispatcherServlet can be configured and mapped using Java configuration or in the deployment descriptor file, web.xml. Before moving on to the configuration part, let's understand the flow of Spring MVC architecture.