1、整合多视图
SpringMVC本身支持多个视图的配置,只需添加视图解析器(ViewResolver)即可。原来的配置如下:
<!--jsp视图解析器-->
<bean id="jspViewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
<property name="prefix" value="/WEB-INF/jsp/"/>
<property name="suffix" <