1、ActionContext.getContext().put("roleList", roleList); 2、ActionContext.getContext().getValueStack().push(role);