Map<String, Object> session=actionContext.getSession(); session.put("name", "fangchao2(value)"); session.put("age",23); Map<String, Object> application=actionContext.getApplication(); application.put("name", "fangchao3"); application.put("age", 25);
Struts2的值栈和OGNL
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/6e8263af9bc94734444be98f6d054229.html