spring 加载流程走向

spring提供了一个ContextLoaderListener类 它会在web启动时加载而后去WEB-INF下寻找applicationContext.xml文件 并根据它来建立spring容器。 一个项目中若是须要使用spring 还须要在web。xml中以下配置: <listener> <listener-class> org.springframework.web.context. Con
相关文章
相关标签/搜索