Spring Framework

Spring Projects

Spring Project 1

ChainingViewResolvers in Spring MVC
Previous Home Next

The Spring MVC provide the facility to configure more then one view resolvers in the application. It means that this view resolver provide the facility to user, if he want to use more then one view resolver in single application using the ChaningViewResolver. This view resolver will used two resolver first is XmlViewResolver and second is InternalResourceViewResolver. This view resolver are configure in following type:

<bean id="viewResolver" 
<property name="order" value="1"/>
<property name="location">

<bean id="jspViewResolver"
servlet.view.InternalResourceViewResolver" >
<property name="order" value="0"/>
<property name="viewClass" value=
<property name="prefix">
<property name="suffix">
Previous Home Next