Kris Schneider wrote:
Not really sure why it's not working for you, but the following works just fine
with Standard 1.0.3 on Tomcat 4.1.24:
Thanks, Kris.
Standard 1.0.3 on Tomcat 4.1.24 is also my setup.
[your example code]
My problem is still, that *already* the following less sophisticated
Sent: August 27, 2003 11:59 PM
To: [EMAIL PROTECTED]
Subject: Re: forEach = Exception
javax/servlet/jsp/jstl/core/LoopTagSupport
Kris Schneider wrote:
Not really sure why it's not working for you, but the following
works just fine
with Standard 1.0.3 on Tomcat 4.1.24:
Thanks, Kris
Steve Raeburn wrote:
You need to use the status variable to get the current loop index.
c:forEach begin=3 end=20 step=3 varStatus=status
c:out value=${status.index}/
/c:forEach
Steve
http://www.ninsky.com/struts/
Hi Steve,
thanks for answering. Unfortunately, this does'nt solve my problem,
I have same set up (1.0.3 4.1.24) and this works.
Perhaps you should check that you really do have Standard 1.0.3 and are
referencing it in your web.xml.
The timestamp on standard.jar jstl.jar should 2003-02-19 5:06pm
Thilo Schwidurski wrote:
Kris Schneider wrote:
Not really sure why it's
Further examination of the exception does indeed seem to show you have a jar-file
problem. This kind of servlet exception usually means Tomcat can't find the indicated
resource, in your case LoopTagSupport.
Greetz,
Martin
-
Martin van Dijken wrote:
Further examination of the exception does indeed seem to show you have a jar-file problem. This kind of servlet exception usually means Tomcat can't find the indicated resource, in your case LoopTagSupport.
Hmm, how can it than be that c:out executes properly?
Anyway, I
Schwidurski
Sent: August 27, 2003 11:59 PM
To: [EMAIL PROTECTED]
Subject: Re: forEach = Exception
javax/servlet/jsp/jstl/core/LoopTagSupport
Kris Schneider wrote:
Not really sure why it's not working for you, but the following
works just fine
with Standard 1.0.3 on Tomcat 4.1.24:
Thanks, Kris
/struts/
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Thilo Schwidurski
Sent: August 27, 2003 11:59 PM
To: [EMAIL PROTECTED]
Subject: Re: forEach = Exception
javax/servlet/jsp/jstl/core/LoopTagSupport
Kris Schneider wrote:
Not really sure why it's
Not really sure why it's not working for you, but the following works just fine
with Standard 1.0.3 on Tomcat 4.1.24:
%@ page contentType=text/plain %
%@ page import=java.util.* %
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %
%
Object[] testData = { 0, 1, 2 };
List test =