Skip to main content

View Resolver Configuration

Learn View Resolver Configuration (Spring MVC Configuration, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes ViewResolver turns a logical view name returned by a controller (such as "home" ) into a View that renders the response. InternalResourceViewResolver uses a prefix and suffix to find JSPs, for example /WEB-INF/views/ and .jsp . configureViewResolvers in WebMvcConfigurer lets you register resolvers through a ViewResolverRegistry .

More lessons in Spring MVC Configuration