you can pass the pageContext object to bean from JSP and access any variable in any scope... I mean Session, Application, Page and so on..
-----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED] Behalf Of Robert Burdick Sent: Saturday, May 01, 2004 10:01 PM To: [EMAIL PROTECTED] Subject: HttpSession from a JavaBean Hello All: I know this may be unorthodox, but I really need to be able to access the HttpSession object for my current session from a standard (non EJB) JavaBean. Is this possible? Robert ---------------------------------------------------------------------------- ----------------------------------------- Robert Burdick Author, "Essential Windows CE Application Programming", John Wiley and Sons Co-author, "Professional JSP, 2nd Edition", Wrox Press Microsoft eMVP [EMAIL PROTECTED] www.wAppearances.com (650)-917-8446 (office) (650)-906-3707 (cell) =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com 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 archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com