一个action读取另一个action里的session
发布日期:2021-08-26 17:45:34 浏览次数:13 分类:技术文章

本文共 312 字,大约阅读时间需要 1 分钟。

action 1: private Map session; session.put("projectname_session", request1.getParameter("projectname")); action 2: private HttpSession pnSession =ServletActionContext.getRequest().getSession(); String pn = (String)pnSession.getAttribute("projectname_session");

转载于:https://www.cnblogs.com/wujixing/p/5276333.html

转载地址:https://blog.csdn.net/weixin_33893473/article/details/93684807 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:NSDate NSDateFormatter
下一篇:Spring事务隔离级别,事务传播行为

发表评论

最新留言

逛到本站,mark一下
[***.202.152.39]2025年02月11日 04时38分22秒