如题,谢谢
在Servlet或者是在Struts1中获取当前用户的Session方法是:
注意:request的类型是:HttpServletRequest. 如果是在Struts2中的Action中获取Session.方法是: