Spring Boot + freemarker

1、在templates目录下新建index.ftl文件,如下图: 2、增加组件: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId> </dependency> 3、在resources目录下新建applicat
相关文章
相关标签/搜索