本人小白struts2中使用session是ServletActionContext.getRequest().getSession().setAttribute("userid", "123");ServletActionContext.getRequest().getSession().getAttribute("userid");
那么servlet如何调用获取或者设置他。。求大神帮忙。
补充一下:struts2和servlet公用一个session也可以。
http://pengfeng.iteye.com/blog/212358