Thymeleaf/HTML使用session里的属性
可以看到我这里直接添加了session:username
然后要在HTML页面里面使用session:
Thymeleaf/HTML使用session里的属性
可以看到使用方法是session.thymeleaf{session.属性名} 然后如果读者没有学到thymeleaf的话,那也是{session.属性名}

相关文章: