opactionform.java

来自「功能完善的java开发框架」· Java 代码 · 共 49 行

JAVA
49
字号
package news.web;import com.jdon.model.*;import org.apache.struts.action.*;import javax.servlet.http.*;import news.model.News;public class OpActionForm    extends ModelForm {  private String opId;  private String opContent;  private News News = new News();  public void setOpId(String opId) {    this.opId = opId;  }  public void setOpContent(String opContent) {    this.opContent = opContent;  }  public void setNews(News News) {    this.News = News;  }  public String getOpId() {    return opId;  }  public String getOpContent() {    return opContent;  }  public News getNews() {    return News;  }  public ActionErrors validate(ActionMapping actionMapping,                               HttpServletRequest httpServletRequest) {    /**@todo: finish this method, this is just the skeleton.*/    return null;  }  public void reset(ActionMapping actionMapping,                    HttpServletRequest httpServletRequest) {  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?