context-param之contextConfigLocation
摘要:contextConfigLocation参数定义了Spring项目启动的时候,需要装载的xml配置文件的位置。如果没有定义这个参数,那么Spring默认会去装载WEB-INF下的applicationContext.xml文件;否则就会按照该参数定义的属性值来装载相应的配置文件。装载配置文件,还需...
阅读全文
posted @ 2015-12-17 16:04
posted @ 2015-12-17 16:04
posted @ 2015-12-16 21:13
posted @ 2015-12-16 20:01