1. 程式人生 > >spring boot 新手錯誤

spring boot 新手錯誤

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 新手錯誤