摘要: 在SpringMVC的Controller中使用 @ModelAttribute时,其位置包括下面三种: 应用在方法上 应用在方法的参数上 应用在方法上,并且方法也使用了 @RequestMapping 一、应用在方法上 首先说明一下,被 @ModelAttribute注解的方法会在 Control 阅读全文
posted @ 2020-08-28 12:12 又要起名字呀 阅读(398) 评论(0) 推荐(0) 编辑