首页 > 编程语言 > 详细

SpringBoot入门-15(springboot配置freemarker使用YML)

时间:2018-05-14 10:09:46      阅读:697      评论:0      收藏:0      [点我收藏+]

https://blog.csdn.net/fengsi2009/article/details/78879924

application.yml

spring:
  http:
    encoding:
      force: true
      charset: UTF-8
  freemarker:
    allow-request-override: false
    cache: false
    check-template-location: true
    charset: UTF-8
    content-type: text/html; charset=utf-8
    expose-request-attributes: false
    expose-session-attributes: false
    expose-spring-macro-helpers: false
    suffix: .ftl
    template-loader-path: classpath:/templates
  

 

SpringBoot入门-15(springboot配置freemarker使用YML)

原文:https://www.cnblogs.com/newlangwen/p/9034564.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!