《三》ServletContext的設計與實現

(1) (2)ServletContextListener是ServletContext的監聽者,當ServletContext發生變化的時候會觸發相應的動作。如contextInitialized與contextDestroyed而ContextLoaderListener實現了ServletContext從而實現容器的初始化與銷燬。 (3)參考《一》ContextLoader對ioc初始化,以
相關文章
相關標籤/搜索