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 21:11:50 GMT
Felipe Schnack wrote:
>   It was that!
>   what is this runtime taglib??

The RT libraries support Java expressions instead of EL expressions,
e.g. '<= request.getParameter("foo") %> instead of "${param.foo}".
But seriously, you can avoid a lot of problems by reading a bit
about JSTL before you use it. Sun's JSTL pages has lots of resources:

   <http://java.sun.com/products/jsp/jstl/>

Hans

> On Mon, 2003-02-10 at 18:55, Hans Bergsten wrote:
> 
>>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
>>
> 


-- 
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