Hi Bear,
Good to see your reply.Following is my code in the
servlet:
HttpSession session=req.getSession();
HashMap sessionMap =(HashMap)session.getAttribute("ACTIVE_SESSION_LIST");
String userId =(String) session.getAttribute("GSAM_USER_ID");
System.out.println("username is ::"+userId);
Here i am able to retrieve GSAM_USER_ID as what ever i have given while login.But first request is displaying as null.
May i know why its displaying as null for first request.
Note:session object is creating properly.
regards,
rama