28 lines
1.4 KiB
XML
28 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- 查找最新的schemaLocation 访问 http://www.springframework.org/schema/ -->
|
||
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xmlns="http://www.springframework.org/schema/beans"
|
||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
|
||
|
||
<!--<!– 启用MVC注解 –>-->
|
||
<!--<mvc:annotation-driven />-->
|
||
|
||
<!--<!– 静态资源文件,不会被Spring MVC拦截 –>-->
|
||
<!--<mvc:resources location="/resources/" mapping="/resources/**"/>-->
|
||
|
||
<!--<!– 指定Sping组件扫描的基本包路径 –>-->
|
||
<!--<context:component-scan base-package="osc.git.eh3.springamq" >-->
|
||
<!-- <!– 这里只扫描Controller,不可重复加载Service –>-->
|
||
<!-- <context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>-->
|
||
<!--</context:component-scan>-->
|
||
|
||
<!--<!– JSP视图解析器–>-->
|
||
<!--<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> -->
|
||
<!-- <property name="prefix" value="/WEB-INF/views/" /> -->
|
||
<!-- <property name="suffix" value=".jsp" />-->
|
||
<!--<!– 定义其解析视图的order顺序为1 –>-->
|
||
<!-- <property name="order" value="1" />-->
|
||
<!--</bean>-->
|
||
|
||
</beans> |