Spring的初始化:org.springframework.web.context.ContextLoaderListener
在web.xml中配置:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
ContextLoaderListener的作用就是启动Web容器时,自动装配Applic...
原创
2019-02-21 14:47:33 ·
1828 阅读 ·
0 评论