The return value of the 
doStartTag()
 method is 
EVAL_BODY_TAG
.  The return value of 
the 
doEndTag(
) method is 
EVAL_PAGE
.  The return value of the 
doAfterBody()
method is 
SKIP_BODY
.
5.4.7
Life Cycle Considerations
At execution time the implementation of a JSP page will use an available Tag instance with 
the appropriate prefix and name that is not being used, initialize it, and then follow the 
protocol described below. Afterwards, it will release the instance and make it available for 
further use. This approach reduces the number of instances that are needed at a time.
Initialization is done by setting the properties 
pageContext
 and 
parent
, in that order,  while 
release is done by invoking release().
Chapter 5
Tag Extensions
106




JSP Web Hosting JavaServer Pages Specifications JSP Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.