【发布时间】:2021-08-17 20:00:30
【问题描述】:
有没有办法将 Thymeleaf 模板存储在 resources 或 webapp 中,而不是在与类相同的包中?例如这样的结构:
com
example
myapp
foo
Foo.class
Template.html
bar
Bar.class
Template.html
OtherTemplate.html
为了实现这一点,我必须如何配置 Spring 和 Thymeleaf?
【问题讨论】:
标签: spring templates thymeleaf