demoactionform.java

来自「100多M的J2EE培训内容」· Java 代码 · 共 34 行

JAVA
34
字号
package demostrcuts;import org.apache.struts.action.*;import javax.servlet.http.*;public class DemoActionForm extends ActionForm {  private String 单位;  private String 地址;  private String 姓名;  public String get单位() {    return 单位;  }  public void set单位(String 单位) {    this.单位 = 单位;  }  public String get地址() {    return 地址;  }  public void set地址(String 地址) {    this.地址 = 地址;  }  public String get姓名() {    return 姓名;  }  public void set姓名(String 姓名) {    this.姓名 = 姓名;  }  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 + -
显示快捷键?