DispatcherServlet is the front controller at the center of every Spring MVC request lifecycle. It receives all incoming requests, delegates to the appropriate handler, and coordinates rendering the final response.
For a request to /orders/42, DispatcherServlet finds the mapped controller method, receives back the Model and view name "orderDetail", resolves that to /WEB-INF/views/orderDetail.jsp, and writes the rendered HTML to the response.
A concise interview answer is
DispatcherServlet is the front controller for every Spring MVC request — it routes the request to the right handler via HandlerMapping, takes the returned Model and view name, and uses ViewResolver to render and send back the final response. It's also the central point where exceptions get routed to exception handlers.
Last updated: 11 November 2026
Previous question: Describe the lifecycle of a Spring MVC request.
Next question: How do controllers and view resolvers work together during a Spring MVC request?