#配置freemarker詳解 #spring.freemarker.allow-request-override=false # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name. #設置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。 #spring.freemarker.allow-session-override=false # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name. #設置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。 #spring.freemarker.cache=false # Enable template caching. #啟用模板緩存。 #spring.freemarker.charset=UTF-8 # Template encoding. #設置編碼格式 #spring.freemarker.check-template-location=true # Check that the templates location exists. #檢查模板位置是否存在。 #spring.freemarker.content-type=text/html # Content-Type value. #內容類型值 #spring.freemarker.enabled=true # Enable MVC view resolution for this technology. #為這種技術啟用MVC視圖解決方案。 #spring.freemarker.expose-request-attributes=false # Set whether all request attributes should be added to the model prior to merging with the template. #設置是否應該在與模板合並之前將所有請求屬性添加到模型中。 #spring.freemarker.expose-session-attributes=false # Set whether all HttpSession attributes should be added to the model prior to merging with the template. #設置是否在與模板合並之前將所有HttpSession屬性添加到模型中。 #spring.freemarker.expose-spring-macro-helpers=true # Set whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext". #設置是否公開RequestContext供Spring宏庫使用,名稱為“SpringMacroRequestContext”。 #spring.freemarker.prefer-file-system-access=true # Prefer file system access for template loading. File system access enables hot detection of template changes. #更喜歡文件系統訪問模板加載。文件系統訪問允許對模板更改進行熱檢測。 #spring.freemarker.prefix= # Prefix that gets prepended to view names when building a URL. #前綴,用於在構建URL時查看名稱 #spring.freemarker.request-context-attribute= # Name of the RequestContext attribute for all views. #所有視圖的RequestContext屬性的名稱。 #spring.freemarker.settings.*= # Well-known FreeMarker keys which will be passed to FreeMarker's Configuration. #眾所周知的FreeMarker密鑰將傳遞給FreeMarker的配置。 #spring.freemarker.suffix= # Suffix that gets appended to view names when building a URL. #后綴,該后綴用於在構建URL時查看名稱。 #spring.freemarker.template-loader-path=classpath:/templates/ # Comma-separated list of template paths. #以逗號分隔的模板路徑列表。 #spring.freemarker.view-names= # White list of view names that can be resolved. #可以解析的視圖名稱的白列表。