"[EMAIL PROTECTED] & [EMAIL PROTECTED]" wrote:

> Thanks for the help.
>
> BTW, how about the application variable
> ( remember the info for the "application" / "web site" scope )?
>

Application scope objects correspond to servlet context attributes in the servlet
API.  You could create one, for example, like this:

    getServletContext().setAttribute("myobject", object);

In a JSP page, you would use scope="application" to retrieve this object:

    <jsp:useBean id="myobject" class="....." scope="application">

Usually, people set up their application scope objects in the init() method of a
servlet that they have configured to load at startup time.

Craig McClanahan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to