Hi,

I just tried our custom tags on Tomcat4.1.9 with jdk1.4.
Some iteration kind of tags seem not working properly.
For instance:

 <mytag:loop collection="X">
   <mytag:value object="element" />
 </mytag:loop>

loops on a collection X but always prints out the first
element in the collection. My guess is that 'mytag:value' tag
is being pooled and the same tag instance is used.

So what are the caveats of writing custom tags with tag pooling
in action? My tags do have 'release()' method. What does
'tagPool.reuse()' do exactly?


thanks.


liu

Reply via email to