I tried to store session using..
String UserId=request.getParameter("username");
session.setAttribute("username", UserId);
and when I try to access it in some other jsp/servlet using
request.getAttribute("username")
it is showing incompatible data types and showing value null..
but request.getParameter(); is working fine .. wht to do if I need to access this variable in some other JSP.. Plz help..!
Thx a lot in advance.