HI, could you clarify as in which api u read that getServletContext is deprecated, just checked the 2.3 and the 2.4 api spec.....
the meathod getServletContext is not denoted as deprecated could u explain -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Fabian Sommer Sent: Monday, September 09, 2002 3:41 AM To: [EMAIL PROTECTED] Subject: How to access Application Scope in future? Hi folks! In the Servlet Api I read that getServletContext is deprecated - how should I access beans within application scope in future? Is the only way to create a new blank ServletContext and to assign this via getContext("URI-Path") to my webapp? Or do I misread Information on Application-Scope beans? Thx for help. Fabian =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com