Hi all:

I have a bean with Application scope in a servlet, this servlet is fed
information by various other beans (with Session scope). My question is, can
the first bean access all the others (to retrieve processed information or
as a way to “bridge” different sessions)? I think the problem could be
resolved if I could access sessions as attributes of the ServletContext
with ServletContext.getAttributesNames() and
ServletContext.getAttribute(String attrName) but I’m not sure if this can be
done (this is rather a personal project and I haven’t got the time to check
this out). Has anybody got this kind of problem before? Any comments would
be highly appreciated.

  J.

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