
I am using servlet to set session by following code :- HttpSession session=request.getSession(false); session.setAttribute("user", email);
RequestDispatcher rd=request.getRequestDispatcher("Login_home.jsp"); rd.forward(request,response);
and get session value on jsp page by follwing:-
String user=(String)session.getAttribute("user");
this is work but when this code is use in other jsp page its give null value...

Please visit the following links: