martinc 2003/03/03 20:46:03 Modified: src/share/org/apache/struts/taglib/logic IterateTag.java Log: Set 'iterator' to null in doEndTag() so that we release the iterator reference as early as possible. We cannot do the same for 'collection' since it is a tag attribute, and needs to remain unchanged to comply with the JSP spec. Revision Changes Path 1.21 +5 -4 jakarta-struts/src/share/org/apache/struts/taglib/logic/IterateTag.java Index: IterateTag.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/logic/IterateTag.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- IterateTag.java 1 Feb 2003 05:30:28 -0000 1.20 +++ IterateTag.java 4 Mar 2003 04:46:03 -0000 1.21 @@ -424,6 +424,7 @@ // Clean up our started state started = false; + iterator = null; // Continue processing this page return (EVAL_PAGE);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]