天天看点

spring boot 新手错误

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

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

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

上一篇: redis设置

继续阅读