使用模版的时候,出错:Putting a context variable with name "param" is forbidden
model.addAttribute("param", "hello,spring boot thymeleaf");
规定了关键字,param不能作为参数传递出去;
model.addAttribute("paraddd", "hello,spring boot thymeleaf");
本文共 256 字,大约阅读时间需要 1 分钟。
使用模版的时候,出错:Putting a context variable with name "param" is forbidden
model.addAttribute("param", "hello,spring boot thymeleaf");
规定了关键字,param不能作为参数传递出去;
model.addAttribute("paraddd", "hello,spring boot thymeleaf");
转载于:https://blog.51cto.com/lailai/1959258