确定配置文件位置
<context-param>
<param-name>contextConfigLocation</param-name><param-value>classpath:applicationContext.xml</param-value>
</context-param>
配置spring监听器
<listener><listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>