Hi Volker:

The variable information from the custom action is giving information to
the JSP translator on how to make visible in the page the objects that
have been created by the custom action.  It is the responsability of the
action to insert the objects with the proper scope into the pageContext
variable.

If you give the object, say, session scope, then the object will remain
in the pagecontext for requests in the same session.  It will not be
visible via a scripting variable unless somehow you make it so; perhaps
via a useBean action, or perhaps using a custom action.

Hope this helps,
        - eduard/o

=============
Date:    Wed, 5 Jan 2000 13:24:09 +0100
From:    Volker Turau <[EMAIL PROTECTED]>
Subject: New implicit objects in tags

Hi,

As described in section 5.8.1 of the spec new objects (i.e. scripting
variables) can be introduced though user defined tags.

Question:

These objects seem to have scope page, you can have NESTED, etc.  but
you
do not have the same scoping as for Java Beans (i.e. session,
application
etc.).

Is that true? I could insert an implicit object with
   public abstract void setAttribute(java.lang.String name,
                                  java.lang.Object o,
                                  int scope)
into the scope I want to, but is this the correct way of doing this?

volker turau
FH Wiesbaden Fachbereich Informatik
Tel.: +49-611-9495-205 FAX +49-611-9495-210
http://www.informatik.fh-wiesbaden.de/~turau

===========================================================================
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