Add multiple ViewResolver configuration example

This commit is contained in:
Ivan
2016-02-02 17:37:39 +01:00
parent e6cc0bb722
commit 6a203ae91b
3 changed files with 58 additions and 4 deletions
@@ -0,0 +1,3 @@
sample.(class)=org.springframework.web.servlet.view.JstlView
sample.url=/WEB-INF/view/sample.jsp
@@ -0,0 +1,10 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.2.xsd">
<bean id="sample" class="org.springframework.web.servlet.view.JstlView">
<property name="url" value="/WEB-INF/view/sample.jsp" />
</bean>
</beans>