2020
10-06
10-06
JAVA集成Freemarker生成静态html过程解析
Springboot1.引入Freemarkerjar包<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-freemarker</artifactId></dependency>2.配置application.properties###freemarkerspring.freemarker.templateLoaderPath=classpath:/templates/spring.freemarker.suffix=.ftlspring.freemarker.charset=UTF-8spring.freemarker.request-context-attribute=requestspring.freemarker.settings.num...
继续阅读 >