Skip to main content

InternalResourceViewResolver

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

Fresher Notes InternalResourceViewResolver maps a logical name to a server resource such as a JSP by adding a prefix and a suffix . Example : prefix /WEB-INF/views/ plus name home plus suffix .jsp gives /WEB-INF/views/home.jsp . Result : it creates an InternalResourceView (or JstlView when JSTL is on the classpath) that forwards to that path.

More lessons in Model & View