What are the core components of Spring MVC?

Spring MVC follows the Model-View-Controller pattern, and its request-handling flow is built around five core components that work together: DispatcherServlet, Controller, Model, View, and ViewResolver. Understanding how they connect explains the whole request lifecycle.

Key Points

Example

When a browser requests /products, DispatcherServlet routes it to ProductController, which loads data into the Model and returns the view name "productList"; ViewResolver then maps that name to /WEB-INF/views/productList.jsp, which renders the final HTML.

Interview Tip

A concise interview answer is

The core components are DispatcherServlet as the front controller, Controllers that hold the request-handling logic, the Model that carries data, and View plus ViewResolver that turn a logical view name into rendered output. DispatcherServlet ties all of these together for every request.

Last updated: 16 July 2026

Previous question: What is Spring MVC?

Next question: Describe the lifecycle of a Spring MVC request.

More Spring MVC (Optional) interview questions

All Spring MVC (Optional) questions