SpringMVC组件()

SpringMVC的相关组件

  前端控制器:DispatcherServlet

  处理器映射器:HandlerMapping

  处理器适配器:HandlerAdapter

  处理器:Handler

  视图解析器:ViewResolver

  视图:View

SpringMVC的注解和配置

  请求映射注解:@RequestMapping

  视图解析器配置:

    REDIRECT_URL_PREFIX = “redirect:”

    FORWARD_URL_PREFIX = “forward:”

    prefix = “”;

    suffix = “”;

————————

SpringMVC的相关组件

  前端控制器:DispatcherServlet

  处理器映射器:HandlerMapping

  处理器适配器:HandlerAdapter

  处理器:Handler

  视图解析器:ViewResolver

  视图:View

SpringMVC的注解和配置

  请求映射注解:@RequestMapping

  视图解析器配置:

    REDIRECT_URL_PREFIX = “redirect:”

    FORWARD_URL_PREFIX = “forward:”

    prefix = “”;

    suffix = “”;