原文:Spring配置文件详解 - applicationContext.xml文件路径

spring的配置文件applicationContext.xml的默认地址在WEB INF下,只要在web.xml中加入代码 org.springframework.web.context.ContextLoaderListener spring就会被自动加载 但在实际的开发过程中,我们可能需要调整applicationContext.xml的位置,以使程序结构更加的清晰。在web.xml中,配 ...

2015-12-15 08:36 0 10776 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM