摘要: 最近用到了@ModelAttribute,就顺便学习下。 在方法级别使用时,比如 1 @ModelAttribute 2 public void addAttributes(Model model) { 3 model.addAttribute("msg", "hello world!"); 4 } 阅读全文
posted @ 2018-04-08 21:08 haoming1100 阅读(445) 评论(0) 推荐(0) 编辑
本文作者: haoming1100 博客链接: http://www.cnblogs.com/haoming1100 版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 许可协议。转载时必须带上原文链接!