第三天: 使用Themeleaf模板引擎渲染web視圖

第一天介紹了使用springboot返回jsp視圖,今天學習使用Themeleaf模板. 1接口: 地址:http://http://localhost:8080/leaf 2模板 在resources目錄下的templates新建xxx.html 3 配置pom.xml 在dependencies節點添加denpendency <dependency> <groupId>org.sprin
相關文章
相關標籤/搜索