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:-
this is work but when this code is use in other jsp page its give null value...
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.