Maj informations

This commit is contained in:
2019-03-05 09:48:00 +01:00
parent 0d6b428bd7
commit 0baf037834
21 changed files with 135 additions and 136 deletions

View File

@@ -9,23 +9,23 @@
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
<!-- 静态资源访问 -->
<!-- -->
<mvc:default-servlet-handler/>
<mvc:annotation-driven/>
<!-- 把标记了@Controller注解的类转换为bean -->
<!-- 把标记了@Controller bean -->
<context:component-scan base-package="com.eshop.controller">
</context:component-scan>
<!-- ViewResolver Servlet、JSP视图解析-->
<!-- ViewResolver Servlet、JSP-->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
<property name="prefix" value="/"/>
<property name="suffix" value=".jsp"/>
</bean>
<!-- 配置拦截器 -->
<!--
<mvc:interceptors>
<mvc:interceptor>