日期:2014-05-16  浏览次数:20302 次

maven 中使用jstl

1. maven 中添加依赖:

??????? <dependency>
??? ??? ??? <groupId>jstl</groupId>
??? ??? ??? <artifactId>jstl</artifactId>
??? ??? ??? <version>1.1.2</version>
??? ??? </dependency>

??? ??? <dependency>
??? ??? ??? <groupId>taglibs</groupId>
??? ??? ??? <artifactId>standard</artifactId>
??? ??? ??? <version>1.1.2</version>
??? ??? </dependency>

?

2. jsp中引入 jstl:

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>

?

?