zoukankan      html  css  js  c++  java
  • Model、ModelMap ModelAndView

    public class ExtendedModelMap extends ModelMap implements Model


    /**

     * Holder for both Model and View in the web MVC framework.

     * Note that these are entirely distinct. This class merely holds

     * both to make it possible for a controller to return both model

     * and view in a single return value.

     *

     * <p>Represents a model and view returned by a handler, to be resolved

     * by a DispatcherServlet. The view can take the form of a String

     * view name which will need to be resolved by a ViewResolver object;

     * alternatively a View object can be specified directly. The model

     * is a Map, allowing the use of multiple objects keyed by name.

     *

     * @author Rod Johnson

     * @author Juergen Hoeller

     * @author Rob Harrop

     * @see DispatcherServlet

     * @see ViewResolver

     * @see HandlerAdapter#handle

     * @see org.springframework.web.servlet.mvc.Controller#handleRequest

     */

    public class ModelAndView {

    /** View instance or view name String */

    private Object view;

    /** Model Map */

    private ModelMap model;

    }

  • 相关阅读:
    javaScript类型和对象
    极客时间买课全额返现
    极客时间返利课程返利文字版
    负责范围
    list查询
    缺件修改
    修改信息
    Windows系统解决占用端口问题
    mysql系列——常用的几十个函数详解(六)
    史上最全日期时间类讲解
  • 原文地址:https://www.cnblogs.com/feng9exe/p/12121259.html
Copyright © 2011-2022 走看看