Skip to main content

View Resolution

Learn View Resolution (Model & View, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes View resolution is the step where Spring MVC turns the logical view name returned by a controller (such as "home" ) into a real View object that renders the response. Who does it : the DispatcherServlet asks each registered ViewResolver in order until one returns a view. Why it exists: controllers stay free of file paths and technology, so JSP can be swapped for Thymeleaf without touching them.

More lessons in Model & View