Add multiple ViewResolver configuration example
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user