Hi,
I have a iterator Tag which iterates through an arrayList and with each
iteration assigns a value
to a variable, which can then be displayed in the jsp using the <%=...%>
My Problem is that I am using the iteration tag within a bit of the page
which is itself part of the iteration tag. Ie as follows:
<Joel:IterationTag list=arrayList>
<stuff>
<%=valueFromIterationVariable%>
<Joel:ItrationTag list=arrayListTWO>
<moreStuff>
<%=valueFromIterationVariable%>
</Joel:IterationTag>
</stuff>
</Joel:IterationTag>
When trying to compile the jsp I get the error:
Error parsing JSP page joelsIterationPage.jsp line 46
Bean 'name' already defined
Is this because I am using a the same tag within itself (even with
different attributes)??
Does the compiler think the tag is a bean? Or am I missing something...
Any comments / help appreciated
Joel
==========================================================================To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets