ActionContext.getContext().getSession().put("user", getUsername());
ActionContext.getContext().getSession().put("user", getUsername());
request.setAttribute("username", username);
HttpSession session=(HttpSession) ServletActionContext.getRequest().getSession();
String refererUrl=(String) session.getAttribute("refererUrl");
System.out.println("refererUrl---"+refererUrl);