zoukankan      html  css  js  c++  java
  • Spring MVC request flow


    1. When we enter a URL in the browser, the request comes to the dispatcher servlet.
    The dispatcher servlet then acts as a centralized entry point to the web application.
    2. The dispatcher servlet determines a suitable controller that is capable of handling the
    request and dispatching this request to the controller.
    3. The controller method updates objects in the model and returns the logical view name
    and updated model to the dispatcher servlet.
    4. The dispatcher servlet consults with the view resolver to determine which view to
    render and passes the model data to that view.
    5. The view furnishes the dynamic values in the web page using the model data, renders
    the final web page, and returns this web page to the dispatcher servlet.
    6. At the end, the dispatcher servlet returns the final, rendered page as a response to the
    browser.

  • 相关阅读:
    前端主页
    配置站点
    前台
    数据库配置
    后台:Django项目创建
    虚拟环境的搭建
    pip安装源
    AngularJS Scope(作用域)
    scala中的匿名函数 ==> 简单示例
    scala中的内部类 ==> 简单示例
  • 原文地址:https://www.cnblogs.com/ys-wuhan/p/6283423.html
Copyright © 2011-2022 走看看