pro.xml中添加jstl标签
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
在jsp页面中写入<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>c标签库
pro.xml中添加jstl标签
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
在jsp页面中写入<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>c标签库