tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject Re: more forEach woes
Date Mon, 10 Feb 2003 20:55:21 GMT
Felipe Schnack wrote:
>   I must have a serious problem here... I can't make this work:
> 
> <c:forEach begin="1" end="20" var="i">
>   <c:out value="${i}" />
> </c:forEach>
> 
> 
>   It simply prints "{$i}" 20 times

It looks like you're using the RT library, not the EL library.
Check your taglib directive. You should use the uri
"http://java.sun.com/jstl/core" for the EL library.

Hans
-- 
Hans Bergsten                                <hans@gefionsoftware.com>
Gefion Software                       <http://www.gefionsoftware.com/>
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at                                    <http://TheJSPBook.com/>


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message