spring配置文件在xml加载的方式有两种
一种是
<context-param>
<description>描述:加载Spring配置文件</description>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/conf/applicationContext.xml</param-value>
</context-param>
另外一种是
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationSecurityContext.xml</param-value>
</context-param>
classpath:在指定的class路径中查找文件;
classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找