1.@ModelAtrribute注解:将请求参数绑定到Model对象。@ModelAttribute只支持一个属性,类型为String。@ModelAttribute注释的方法会在Controller每个方法执行之前被执行,因此,在一个Controller映射到多个URL时,要谨慎使用。