ActionContext actionContext = ActionContext.getContext(); Map session = actionContext.getSession(); session.put("admin", admi.get(0));