码迷,mamicode.com
首页 > 编程语言 > 详细

spring boot 新手错误

时间:2017-08-25 17:40:12      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:putting a context variable with name "param"

使用模版的时候,出错:Putting a context variable with name "param" is forbidden

model.addAttribute("param", "hello,spring boot thymeleaf");

规定了关键字,param不能作为参数传递出去;

model.addAttribute("paraddd", "hello,spring boot thymeleaf");



本文出自 “在路上” 博客,请务必保留此出处http://lailai.blog.51cto.com/3362373/1959258

spring boot 新手错误

标签:putting a context variable with name "param"

原文地址:http://lailai.blog.51cto.com/3362373/1959258

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!