web容器怎么启动spring
1 回答

慕田峪9158850
TA贡献1794条经验 获得超7个赞
在应用程序web.xml中做了以下配置信息时,当启动Web容器时就会自动加载Spring容器。
[java] view plaincopyprint?
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
- 1 回答
- 0 关注
- 999 浏览
添加回答
举报
0/150
提交
取消