配置springboot支持jsp
小可爱打开pom.xml(maven配置文件),可以看到我们之前构建项目时已经添加了web模块,
而springboot给我们自动添加了spring-boot-starter-tomcat配置引入,
so 现在小可爱只需要再加这几个依赖
JSP maven
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
Servlet maven
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
JSTL maven
<dependency>
<