Spring Boot + freemarker

1、在templates目錄下新建index.ftl文件,如下圖: 2、增加組件: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId> </dependency> 3、在resources目錄下新建applicat
相關文章
相關標籤/搜索