标签:
课时15
1 public String execute() { 2 ActionContext ac = ActionContext.getContext(); 3 ac.getApplication().put("app", "应用范围"); 4 ac.getSession().put("ses","session范围"); 5 ac.put("req","request范围"); 6 7 return "success"; 8 }
1 ${applicationScope.app}<br> 2 ${sessionScope.ses}<br> 3 ${requestScope.req}
标签:
原文地址:http://www.cnblogs.com/zziy/p/4894273.html