springboot整合jsp

(1)pom.xml 加入 依赖

  

<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
<!-- jstl标签库 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>

 

(2)  main文件夹下创建webapp--WEB-INF--jsp

  

(3)编辑 application.yaml


 
原文地址:https://www.cnblogs.com/cuiguangpeng/p/10981048.html