11級_Java_曹建波 03.06 Struts2_ognl

在Action中存值 publicStringognltest1(){ ActionContextac=ActionContext.getContext(); ac.put("username","request-chenhj"); ac.getSession().put("username","session-chenhj"); ac.getApplication().put("username
相關文章
相關標籤/搜索