【springmvc的请求流程】:handler 的作用与配置,注解配置handler的requestMapping的配置

handler三种配置 方式一 实现HttpRequestHandler 接口,并且返回对象也是要放在域对象request 当中 方式二: 实现Controller接口,其实modelAndView .addObject 相当于是request.setAttribute的方法,最终对象也是放在域对象request 中的  
相关文章
相关标签/搜索