SpringMVC之DispatcherServlet(一)

上一篇介绍了ContextLoaderListener,作用就是创建 根上下文 XmlWebApplicationContext , 并储存在全局上下文 ServletContext 中。 在 web.xml 中除了 ContextLoaderListener 配置之外,还有对 DispatcherServlet 的配置。作为一个Servlet,所有的 Web 请求都需要通过它来处理,进行转发,匹
相关文章
相关标签/搜索