spring的bean與spring mvc bean的區別

ssm項目啓動中上下文創建過程 1、servlet容器啓動,爲應用創建一個「全局上下文環境」:ServletContext 2、容器調用web.xml中配置的contextLoaderListener,初始化WebApplicationContext上下文環境(即Sping上下文)WebApplicationContext在ServletContext中以鍵值對的形式保存 3、容器初始化web.x
相關文章
相關標籤/搜索