Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

Re: HttpSession from a JavaBean

Lakshmeenarayana

2004-05-02

Replies:

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:JSP-INTEREST@(protected)
Sent: Saturday, May 01, 2004 10:01 PM
To: JSP-INTEREST@(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

rburdick@(protected)
www.wAppearances.com
(650)-917-8446 (office)
(650)-906-3707 (cell)

===========================================================================
To unsubscribe: mailto listserv@(protected)
JSP-INTEREST".
For digest: mailto listserv@(protected)
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 listserv@(protected)".
For digest: mailto listserv@(protected)".

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
©2008 junlu.com - Jax Systems, LLC, U.S.A.