?? action.java~1~
字號:
package com.core.web;
/**
* 這個類繼承了ActionSupport,是本框架所有Action的父類,提供一些通一的處理。
*/
import org.apache.commons.logging.*;
import com.opensymphony.xwork.*;
public class Action extends ActionSupport { //implements Action {
private static Log log = LogFactory.getLog(Action.class);
protected Paging paging = new Paging();
protected Condition condition = new Condition();
protected PageMessage pagemsg = new PageMessage();
public String execute() throws Exception {
return SUCCESS;
}
public Paging getPaging() {
return paging;
}
public void setPaging(Paging paging) {
this.paging = paging;
}
public Condition getCondition() {
return condition;
}
public PageMessage getPagemsg() {
return pagemsg;
}
public void setCondition(Condition condition) {
this.condition = condition;
}
public void setPagemsg(PageMessage pagemsg) {
this.pagemsg = pagemsg;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -