SpringBoot jar包部署,訪問HTML頁面

 方式一:html 經過application.properties配置文件進行設置java 項目啓動後直接訪問templates下的htmlspring spring.resources.static-locations=classpath:/templates/ spring.freemarker.suffix=.html spring.freemarker.template-loader-p
相關文章
相關標籤/搜索