容器关系

web容器,servlet容器、spring容器,springmvc容器。

1、servlet容器和spring容器并列。

2、springmvc容器在spring容器中,相当于继承的关系。

3、springmvc为子容器,他可以调用父容器spring里面的对象,而父容器是不能调用子容器中的对象的。

原文地址:https://www.cnblogs.com/jamers-rz/p/13950383.html