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
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
attribute, its type is that of the
Note that the value of the
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.
JavaServer Pages 1.1 Specification
November 30, 1999