in action class .:
ActionContext actionContext = ActionContext.getContext();
Map session = actionContext.getSession();session.put("USER_NAME", "");
in jsp page :
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
in action class .:
ActionContext actionContext = ActionContext.getContext();
Map session = actionContext.getSession();session.put("USER_NAME", "");
in jsp page :
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>