4.  An action defining one or more objects is transformed into one or more variable 
declarations for these objects, together with code that initializes these variables. The 
visibility of these variables is affected by other constructs, like the scriptlets.
The semantics of the action type determines the name of the variables (usually that of the 
id
 attribute, if present) and their type. The only standard action in the JSP 1.1 
specification that defines objects is the jsp:usebean action; the name of the variable 
introduced is that of the 
id
 attribute, its type is that of the 
class
 attribute.
Note that the value of the 
scope
 attribute does not affect the visibility of the variables 
within the generated program, it only affects where (and thus for how long) there will  be 
additional references to the object denoted by the variable.
85
JavaServer Pages 1.1 Specification  
November 30, 1999




JSP Web Hosting JavaServer Pages Specifications JSP Hosting




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