session

在acton里面得到session

 HttpSession session = ServletActionContext.getRequest().getSession();

 

通过ActionContext来获取request,session,application

ActionContext content = ActionContext.getContext();
        Map request = (Map) content.get("request");
        Map session =content.getSession();

你可能感兴趣的:(session,职场,休闲)