SSM框架運行原理解析

1.spring容器啓動時: (1.)首先讀取web.xml文件,經過配置ContextLoaderListener監聽容器啓動時 建立application對象; (2.)ContextLoaderListener讀取contextConfigLocation指定的beanx.xml文件,加載配置; (3.)<context:component-scan base-package="com.ex
相關文章
相關標籤/搜索