Actually WebSphere has never supported JSP 0.92 which is likely the source
of your confusion. JSP 0.91 is what WebSphere 2 supports doesn't have an
application scope. You can store objects in the request and session scopes.
WebSphere documentation shows you how to do this.
You can also view the two specs at http://www.kirkdorffer.com/jspspecs/
HTH,
Dan
--
Daniel Kirkdorffer
NACN IS: 425-580-6225
Sr. Consultant, Syllogistics LLC
Email: [EMAIL PROTECTED]
Web: http://www.syllogistics.com/
> ----------
> From: Gonzalo Jose[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Friday, November 19, 1999 9:00 AM
> To: [EMAIL PROTECTED]
> Subject: Application scope
>
> Hi All.
> How can I store an object in the application scope, and how can I access
> and modify it from a JSP page.
> I've read that you can do it using
> getServletContext().setAttribute("MyNean", mybean) but I've tried it and I
> get an error message saying that getServletContext() doesn't have a method
> named setAttribute().
>
> Can I access objects stored in the application and at the same time access
> to other objects stored in the session scope?
> I'm using WebSphere A.S. 2.0 (JSP 0.92).
> Thanks in advance.
>
> ==========================================================================
> =
> 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
>
===========================================================================
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