2007-06-22

Spring-mvc 的处理流程

关键字: mvc ioc
请求的分发 请求首先到达DispatcherServlet,应用服务器会根据Web应用中web.xml文件定义的url映射将相应的请求分发到DispatcherServlet中 请求的处理 DispatcherServlet会查找相应的HandlerMapping接口的实现类,调用其中的方法:HandlerExecutionChain getHandler(HttpServletRequest request) throws Exception,该方法会返回一个HandlerExecutionChain。返回的HandlerExecutionChain中包含了零个或者是多个Interce ...
netment
搜索本博客
博客分类
最近加入圈子
存档
最新评论