I have some session attributes being saved. I have a jsp page on which a call to a servlet is made through. This servlet updates one of the session variable but I am not able to
To access the abc variable in the JSP try:
abc
${sessionScope.abc}
Also note that removing before setting is usually redundant. So:
request.getSession().removeAttribute("abc"); request.getSession().setAttribute("abc", abc);
Can simply become:
request.getSession().setAttribute("abc", abc);