adminopenform.java

来自「反ajax原代码」· Java 代码 · 共 68 行

JAVA
68
字号
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   AdminOpenForm.java

package com.laoer.bbscs.web.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.*;

public class AdminOpenForm extends ActionForm
{

    private String action;
    private String closemsg;
    private String open;

    public AdminOpenForm()
    {
    }

    public String getAction()
    {
        return action;
    }

    public void setAction(String action)
    {
        this.action = action;
    }

    public String getClosemsg()
    {
        return closemsg;
    }

    public void setClosemsg(String closemsg)
    {
        this.closemsg = closemsg;
    }

    public String getOpen()
    {
        return open;
    }

    public void setOpen(String open)
    {
        this.open = open;
    }

    public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest)
    {
        ActionErrors errors = new ActionErrors();
        if(action == null || action.length() == 0)
            action = "edit";
        if(open == null)
            open = "y";
        if(closemsg == null)
            closemsg = "";
        return errors;
    }

    public void reset(ActionMapping actionmapping, HttpServletRequest httpservletrequest)
    {
    }
}

⌨️ 快捷键说明

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