ActionContext ac = ActionContext.getContext();// 获得ActionContext
ac.getSession().put("nowUser", nowUser);// 把登录名称放入session中
ActionContext ac = ActionContext.getContext();// 获得ActionContext
ac.getSession().put("nowUser", nowUser);// 把登录名称放入session中