Spring的初始化:org.springframework.web.context.ContextLoaderListener

在web.xml中配置 <listener>     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> ContextLoaderListener的作用就是启动Web容器时,自动装配ApplicationContext.xml的配置信息。因为它实现了S
相关文章
相关标签/搜索