第265天学习打卡(知识点回顾 springboot 复杂参数)

知识点回顾

springboot复杂参数

Map、Model(map, model里面的数据会被放在request的请求域 request.setAttribute)、Errors/BindingResult、RedirectAttributes(重定向携带数据),ServletResponse(response) , SessionStatus、 UriComponentsBuilder

 Map<String, Object> map, Model model, HttpServletRequest request 都是可以给request域中放数据,
     request.getAttribute();

Map、 Model类型的参数,会返回mavContainer.getModel();---->BindingAwareModelMap是Model也是MapmavContainer.getModel()获取到值的

雷丰阳2021版SpringBoot2零基础入门springboot全套完整版(spring boot2)哔哩哔哩bilibili

posted @ 2021-09-30 22:38  豆豆tj  阅读(44)  评论(0)    收藏  举报