SpringMVC的执行过程
一 服务器加载过程
1.解析web.xml文件,通过web.xml文件中对前端控制器的配置,创立ServletDispatcher对象。2.通过web.xml文件中对ContextConfiguration.xml地位的配置,找到并解析ContextConfiguration.xml文件,创立Controller类的单例对象。
二 解决用户申请过程
SpringMVC的执行过程
一 服务器加载过程
1.解析web.xml文件,通过web.xml文件中对前端控制器的配置,创立ServletDispatcher对象。2.通过web.xml文件中对ContextConfiguration.xml地位的配置,找到并解析ContextConfiguration.xml文件,创立Controller类的单例对象。
二 解决用户申请过程