Mark is right.

Hope this helps,
        - eduard/o

> >What is the purpose of the 3rd argument in the VariableInfo constructor
> >(the
> >"declare" flag)?  The JavaDoc states "declare If true, it is a new variable
> >(in some languages this will require a declaration)"  Is this to
> >distinguish
> >between variable my tag creates and references to variables created
> >elsewhere on a page?
>
> My take on this--and I haven't found occasion to use it yet, so take
> this with a grain of salt--is that if your tag is introducing a
> completely new variable, then set this flag to true so the resulting
> servlet will add a declaration for the variable. If, instead, your
> tag is just assigning a new value to a variable that has already been
> declared elsewhere (e.g., by a different custom tag), then set this
> to false.
>
> The distinction is whether code of this form should be generated:
>
> <class> <name> = <value>;
>
> or just this:
>
> <name> = <value>;
>
> - Mark A. Kolb                          Staff Engineer
>    [EMAIL PROTECTED]                  Tivoli Systems Inc.
>    http://www.cross-site.com             (512) 436-1955

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to