chengeactionform.java

来自「struts实现mvc的教程」· Java 代码 · 共 53 行

JAVA
53
字号
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;

public class ChengeActionForm
    extends ActionForm
{
    private String newUserPwd;
    private String oldUserPwd;
    private String reigthUserPwd;
    public String getNewUserPwd()
    {
        return newUserPwd;
    }

    public void setNewUserPwd(String newUserPwd)
    {
        this.newUserPwd = newUserPwd;
    }

    public void setReigthUserPwd(String reigthUserPwd)
    {
        this.reigthUserPwd = reigthUserPwd;
    }

    public void setOldUserPwd(String oldUserPwd)
    {
        this.oldUserPwd = oldUserPwd;
    }

    public String getOldUserPwd()
    {
        return oldUserPwd;
    }

    public String getReigthUserPwd()
    {
        return reigthUserPwd;
    }

    public ActionErrors validate(ActionMapping actionMapping,
                                 HttpServletRequest httpServletRequest)
    { /** @todo: finish this method, this is just the skeleton.*/
        return null;
    }

    public void reset(ActionMapping actionMapping,
                      HttpServletRequest servletRequest)
    {
    }
}

⌨️ 快捷键说明

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