⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 switchpageform.java

📁 软件开发过程通常包括五个阶段:分析、设计、编码、测试和发布。如果在Web应用开发中套用现成的Struts框架
💻 JAVA
字号:
/* * SwitchPageForm.java * * Created on 2005年3月1日, 上午2:01 */package test.action;import javax.servlet.http.*;import org.apache.struts.action.*;/** * * @author Administrator */public class SwitchPageForm extends ActionForm {        /** Creates a new instance of SwitchPageForm */    public SwitchPageForm() {    }        private String id;    public String getId() {        return id;    }    public void setId(String id) {        this.id = id;    }        /**     * Reset all properties to their default values.     *     * @param mapping The mapping used to select this instance     * @param request The servlet request we are processing     */    public void reset(ActionMapping mapping, HttpServletRequest request) {        //TODO: 要添加Reset按钮所执行的操作    }        /**     * 验证页面上的数据的有效性     * @param  mapping The mapping used to select this instance     * @param  request The servlet request we are processing     * @return         ActionErrors     */    public ActionErrors validate(ActionMapping mapping,            javax.servlet.http.HttpServletRequest request) {        //TODO: 这里要增加验证页面上所有输入数据有效性的代码        return null;    }    }

⌨️ 快捷键说明

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