spring容器 的啓動過程

何時spring容器啓動? 其實就是程序中執行加載 xml配置文件的時候 1.應用程序下加載 ApplicationContext ctx = new ClassPathXmlApplicationC ontext("testspring2.xml"); 2.web模式下加載 web.xml:        <context-param>             <param-name>conte
相關文章
相關標籤/搜索