springboot 入門(二) 整合jsp頁面

1.新建springboot工程,默認選擇springboot 2.0,添加webapp文件夾並指定web resourcehtml 2.修改springboot的配置文件java #指定端口號 server.port=8888 #指定視圖解析路徑前綴 spring.mvc.view.prefix=/WEB-INF/jsp/ #指定視圖解析後綴 spring.mvc.view.suffix=.js
相關文章
相關標籤/搜索