I think I've been using the wrong version of tomcat.... I just downloaded version 5
but I'm not sure how to integrate it with JBuilder 7.....
-----Original Message-----
From: Pierre Delisle [mailto:[EMAIL PROTECTED]
Sent: Mon 10/20/2003 1:25 PM
To: Tag Libraries Users List
Cc:
Subject: Re: iterator problem
David Liles wrote:
> I am trying to use the iterator tag and am unclear on a couple items. I have
been using the following example as a template:
>
> <iter:forCategories var="athlete" items="${athletes}">
> <iter:category value="${athlete.country}">
> <iter:header>
> <h3><c:out value="${athlete.country}"/></h3>
> </iter:header>
> <iter:body>
> <c:out value="${athlete.name}"/><br>
> </iter:body>
> <iter:footer>
> •-•-•-•-•
> </iter:footer>
> </iter:category>
> </iter:forCategories>
>
> Question 1: the value show for items="${athletes}".....
> is this the reference name for the ArrayList, Collection, etc
> given to the object to be iterated?
${athletes} refers to a collection to be iterated over.
> In the code I'm trying to work with, when I add a "body"
> element I get a javax/servlet/jsp/JspContext error....
>
> This is what I'm trying to work with:
>
> <iter:forCategories var="f" items="${folders}">
> <iter:body>
> Folders To Be Displayed
> </iter:body>
> </iter:forCategories>
>
> Can someone please educate me as to what I might be doing wrong?
Give us more details and we might be able to help.
Ideally, a small snippet of code that shows your problem and that
we can reproduce. That should be easy.
-- Pierre
>
> Thanks
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]