https://blog.csdn.net/maoyeqiu/article/details/49719437
Model的作用域类似于request但不是request,前台发出请求后在调用controller中的方法前会将请求的参数填充到model中,在执行了handler方法之后才会把Model中的数据填充到request中。
@SessionAttributes(“attributeName”)
在加载视图之前将model中的属性添加到httpSession中。
https://blog.csdn.net/maoyeqiu/article/details/49719437
Model的作用域类似于request但不是request,前台发出请求后在调用controller中的方法前会将请求的参数填充到model中,在执行了handler方法之后才会把Model中的数据填充到request中。
@SessionAttributes(“attributeName”)
在加载视图之前将model中的属性添加到httpSession中。