![](https://i-blog.csdnimg.cn/blog_migrate/e3541c0ea80d3e65449d10baa525a2fc.png)
![](https://i-blog.csdnimg.cn/blog_migrate/4a5869e5100d7600818ac5d43516be41.png)
![](https://i-blog.csdnimg.cn/blog_migrate/d17e3e41c00f47b9fe0a7cc817992c6a.png)
![](https://i-blog.csdnimg.cn/blog_migrate/164f9482a3fcb00d7e73452d445dca9f.png)
![](https://i-blog.csdnimg.cn/blog_migrate/71f672025e139118bc4b4e7123f7e7b3.png)
![](https://i-blog.csdnimg.cn/blog_migrate/d7f61fb6388cf8472b73fdc8ede4cd94.png)
![](https://i-blog.csdnimg.cn/blog_migrate/161560441cd7dd34e92c6894ec98c772.png)
![](https://i-blog.csdnimg.cn/blog_migrate/c5f92a266ab66d9aba651d75fd0bc902.png)
![](https://i-blog.csdnimg.cn/blog_migrate/90f148a5c2e0f4d6b0e05ed69614ac54.png)
![](https://i-blog.csdnimg.cn/blog_migrate/fa78731be31b61c86f58ca2beeaa7c12.png)
![](https://i-blog.csdnimg.cn/blog_migrate/5e9814ef4570f677b13edeaf476e62d7.png)
![](https://i-blog.csdnimg.cn/blog_migrate/7d7cca2386b22cb5fa6ae9cd322d4d7a.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环境搭建完毕。