Thymeleaf and Spring Boot - adding attributes to the model. What is the correct way?

前端 未结 0 686
花落未央
花落未央 2020-12-29 23:03

I am trying to find a better way to set values to thymeleaf template, because I have a feeling the way I do it is wrong.

Say I have a controller with two mappings:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题