spring與springmvc父子容器

1、spring和springmvc父子容器概念介紹     在spring和springmvc進行整合的時候,一般情況下我們會使用不同的配置文件來配置spring和springmvc,因此我們的應用中會存在至少2個ApplicationContext實例,由於是在web應用中,因此最終實例化的是ApplicationContext的子接口WebApplicationContext。如下圖所示:
相關文章
相關標籤/搜索