ITeye博客

struts2

共 1 篇文章

struts2 ActionSupport如何设置session常量

action Map session = ActionContext.getContext().getSession().put("aaaa","eeee"); jsp <% String loginName = (String)request.getSession().getAttribute("loginName"); %> <%= loginName%>

2013-12-06 11:55 · js · Ajax · struts2