Posted By:
olivia_kyle
Posted On:
Friday, October 17, 2003 07:46 AM
I'm slightly confused as to what it means when application information is associated with the HttpSession. In my application, I create a java object and associate it with the session: HttpSession session = request.getSession(true); session.setAttribute("someName",objectCreated); The user is then directed to the next webpage. On this page, I use getProperty to retrieve some of the bean's attributes (e.g., ). If the user then proceeds to several additional pages, will the bean still be available (e.g., for getProperty purposes) since it was associated with the session? Any help is greatly appreciated!!
More>>
I'm slightly confused as to what it means when application information is associated with the HttpSession.
In my application, I create a java object and associate it with the session:
HttpSession session = request.getSession(true);
session.setAttribute("someName",objectCreated);
The user is then directed to the next webpage. On this page, I use getProperty to retrieve some of the bean's attributes (e.g.,
).
If the user then proceeds to several additional pages, will the bean still be available (e.g., for getProperty purposes) since it was associated with the session?
Any help is greatly appreciated!!