First you must to sure the version of jstl, the diffrent versions has different path;
for example:the jstl-1.0.jar must write like this:<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
and the jstl-1.1.jar must write like this:<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
then when you use it on page the right way is <c:forEach items="" var="" ></c:forEach>