现在的位置: 首页 > 综合 > 正文

DispatcherServlet 的那些事

2019年05月14日 ⁄ 综合 ⁄ 共 956字 ⁄ 字号 评论关闭
DispatcherServlet 类属于org.springframework.web.servlet包

类 DispatcherServlet

public class DispatcherServlet
extends FrameworkServlet

Central dispatcher for HTTP request handlers/controllers, e.g. for web UI controllers or HTTP-based remote service exporters. Dispatches to registered handlers for processing a web request, providing convenient mapping and exception handling facilities.

This servlet is very flexible: It can be used with just about any workflow, with the installation of the appropriate adapter classes(适配器类). It offers the following functionality that distinguishes it from other request-driven web MVC frameworks:

It is based around a JavaBeans configuration mechanism.

其它暂略

参见 :
【1】http://www.boyunjian.com/javadoc/org.springframework/spring-webmvc/4.0.5.RELEASE/_/org/springframework/web/servlet/DispatcherServlet.html
【2】http://www.iteye.com/topic/1125421

抱歉!评论已关闭.