tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul P Akolkar <akol...@us.ibm.com>
Subject Re: <c:forEach> tag not working
Date Wed, 08 Jun 2005 23:08:40 GMT
Avinash Arora <aroraavinash@gmail.com> wrote on 06/08/2005 06:49:06 PM:
> Hi,
> I am trying to iterate across the LinkedList using <c:forEach > of core 
tags 
> of JSTL 2.0 on the Tomcat5.0.28. 

There is no JSTL 2.0 spec, I suspect you mean 1.0?

> When I try to iterate using the following 
> tag--
>  <c:forEach var="element" items="${llCr}">
> //some code
> </c:forEach>
>  I get the following error on JSP page----
> 
> *org.apache.jasper.JasperException: /viewAllCR.jsp(50,0) According to 
TLD or 
> attribute directive in tag file, attribute items does not accept any 
> expressions
<snip/>

Use JSTL 1.1, Servlet 2.4 web app descriptor. For details, see FAQ [ 
http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions ]

-Rahul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message