Problem with sessions
I have a web app which has a login page, in its action class I create an object, student, and save it into session by using
session = request.getSession(true);
session.setAttribute("Student", student)
can i then return the student session using:
session.getAttribute("Student");
Then call this from many action classes?
Thanks
Andy
|