【发布时间】:2019-06-05 14:43:16
【问题描述】:
我需要在 SpringORM 应用程序中使用 thymeleaf 而不是 jsp,我正在寻找用于此目的的配置设置。
【问题讨论】:
-
谷歌同样的东西你会得到很多结果。
标签: thymeleaf spring-orm
我需要在 SpringORM 应用程序中使用 thymeleaf 而不是 jsp,我正在寻找用于此目的的配置设置。
【问题讨论】:
标签: thymeleaf spring-orm
从https://start.spring.io/ 创建一个简单的 Spring Boot 项目,然后将 thymeleaf 添加到您的 maven 存储库中,如下所示
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf-spring3</artifactId>
<version>3.0.11.RELEASE</version>
</dependency>
注意:您还可以在创建项目时选择 thymeleaf 作为依赖项。
【讨论】: