tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <David.K...@wamu.net>
Subject RE: Tag Lifecycle
Date Tue, 30 Sep 2003 18:12:21 GMT
> -----Original Message-----
> From: Lukas Bradley [mailto:lukas@somnia.com] 
> 
> What is the lifecycle of custom tags?  Are tag objects reused 
> throughout a
> page?  It seems as if my tags are not always being created.  
> They are not
> *always* reused however.

The custom tag lifecycle is probably the biggest and most obscure
stumbling block for tag writers.  You should read the JSP specification
for the details on this.

Basically, a tag instance will be reused for another occurrence of the
tag on the page if it has all the same attributes, and all the same
values.

Mime
View raw message