天天看點

spring boot 新手錯誤

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

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

規定了關鍵字,param不能作為參數傳遞出去;

上一篇: redis設定

繼續閱讀