Struts获取Session
1.
Map session=ActionContext.getContext().getSession();
session.put("xiajin", "test");
2.
HttpSession httpSession=ServletActionContext.getRequest().getSession();
httpSession.setAttribute("test", "jin");
<s:property value="#session.xiajin"/> <br>
<c:out value="${test}"></c:out>