web.xml中DispatcherServlet的作用

轉載: [https://blog.csdn.net/nobody_1/article/details/80039227] DispatcherServlet是前端控制器設計模式的實現,提供SpringWebMVC的集中訪問點,而且負責職責的分派,而且與spring IOC容器無縫集成,從而可以獲得Spring的優勢。 其主要職責是調度工作,本身用於控制流程,具體爲: 1.文件上傳解析,如果請求類
相關文章
相關標籤/搜索