![](https://images0.cnblogs.com/blog/731047/201503/301653324674346.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653335291303.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653340606632.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653346235503.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653357013933.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653366545091.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653371078163.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653383103864.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653390297250.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653397481636.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653405291508.png)
![](https://images0.cnblogs.com/blog/731047/201503/301653411399094.png)
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<display-name></display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- Spring 文件路径 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/classes/applicationContext.xml
</param-value>
</context-param>
<!-- spring上下文监听器 -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
</web-app>
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
- </beans>
至此,spring环境搭建完毕。