|
|
@@ -36,16 +36,6 @@
|
|
|
</mvc:message-converters>
|
|
|
</mvc:annotation-driven>
|
|
|
|
|
|
- <!-- Jsp视图 -->
|
|
|
- <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
|
|
- <property name="order" value="1"/>
|
|
|
- <property name="viewNames" value="*.jsp"/>
|
|
|
- <property name="prefix" value="/WEB-INF/jsp"/>
|
|
|
- <property name="suffix" value=""/>
|
|
|
- <property name="contentType" value="text/html; charset=utf-8"/>
|
|
|
- <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
|
|
|
- </bean>
|
|
|
-
|
|
|
<!-- i18n国际化 -->
|
|
|
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
|
|
|
<!-- 找不到key时用key作为返回值 -->
|