struts2 session的有关问题

   阅读
struts2 session的问题
session 是这么设的 Map map=ActionContext.getContext().getSession();
ActionContext.getContext().setSession("map",map);

<s:debug/> 
里面session是空的 
只有com.opensymphony.xwork2.ActionContext.session(貌似是这样的) 这里面有值, 要怎么取啊

------解决方案--------------------
ActionContext.getContext().getSession("map");
------解决方案--------------------
要去session里面的对象,当然你要告诉session你要去哪个对象,ActionContext.getContext().getSession("map");
阅读