摘要:
action代码片段public String execute() { String ret = super.execute(); if (RETURN_LIST.equals(ret)) { return list(); } else { return ret; } } public String list() { String show = this.getRequest().getParameter("show"); if ("show".equal... 阅读全文
摘要:
Action中的代码片段private String epid;//全局变量 得到的是一个以逗号分隔的字符串 public String getEpid() { return epid;}public void setEpid(String epid) { this.epid = epid;}public String edit() { try { if ("save".equals(save)) {//点击保存按钮的时候执行 return save(); } else { ... 阅读全文