1.添加依赖
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<!-- JSTL实现包 -->
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-impl</artifactId>
<version>1.2.5</version>
</dependency>
2.jsp页面引入
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
3.将jstl放到Tomcat的lib下
cp jstl-1.2.jar /tomcat-8.5.37/lib
cp taglibs-standard-impl-1.2.5.jar /tomcat-8.5.37/lib