Hai
use request.getSession();
u can access from request object.
vineesh . kumar wrote:
Hi all,
I wanna do store two values in the session when one logs in and i have to access the two values throughout the pages.also i have to access these two variables from some action classes. How can i do thi
Implement a checkLogin method in a base Action class that returns a User
object or similar, whatever you need. This method takes an argument of
type HttpServletRequest and looks for the User object in the request's
HttpSession. Your Login Action would set this attribute, and your Logout
Action
Hi all,
I wanna do store two values in the session when one logs in and i have to access the
two values throughout the pages.also i have to access these two variables from some
action classes. How can i do this
thanks,
vinu
3 matches
Mail list logo