spring.xml配置文件
来源:互联网 发布:移动办公软件排名 编辑:程序博客网 时间:2024/06/06 17:16
加载符合要求的.xml文件 web.xml中配置
<context-param> <param-name>contextConfigLocation</param-name> <param-value> classpath*:spring_cfg/*.xml //加载该路径下的所有.xml文件,不问名称 classpath*:spring/timerContext.xml //加载该路径下的该名称的xml文件 </param-value></context-param>
阅读全文