If there is a 
TagExtraInfo
 class associated in the TLD, a 
TagData
 object will be 
created with the appropriate attribute/value entries, and will be passed to the 
isValid
method to determine if the attributes are valid.
If there is a 
TagExtraInfo
 class associated in the TLD, a 
TagData
 object will be 
created with the appropriate attribute/value entries, and will be passed to the 
getVariableInfo
 method to determine if any scripting variables will be updated by 
this action at request time.
B.3.3
Generating the JSP Page Implementation Class
The JSP page implementation class generated by the JSP container includes code that:
Generate the appropriate setter method invocations to set values for attributes
Reuse tag handlers that are not being used to reduce the number of tag handler creations.
Assume that a tag handler object retains its set properties to reduce the number of method 
invocations.
Attempt to do some reorganization of setter method invocation so statically determined 
properties are not reset on a tag handler unnecessarily.
B.3.4
An Example
We now describe a simple example.
B.3.4.1
JSP Page Example
We will use a JSP page fragment as follows, where "chunk" is some uninterpreted template 
text
Appendix 
140




JSP Web Hosting JavaServer Pages Specifications JSP Hosting




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