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

📄 logbean.java

📁 是一个用VB编写得银行ATM机交易的程序
💻 JAVA
字号:
/*
 * LogBean.java
 *
 * Created on 2008年2月21日, 下午2:44
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.myapp.struts;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
 *
 * @author Administrator
 */
public class LogBean extends ActionForm{
    
    /** Creates a new instance of LogBean */
    private String userName;
    private String userPsw;
    
    public void setUserName(String tmp){
        userName=tmp;
    }
    
     public String getUserName(){
        return userName;
    }
      public void setUserPsw(String tmp){
        userPsw=tmp;
    }
      public String getUserPsw(){
        return userPsw;
    }
      
      public void reset(ActionMapping arg0,HttpServletRequest arg1){
          this.userName=null;
          this.userPsw=null;
      }
      public ActionErrors validate(ActionMapping arg0,HttpServletRequest arg1){
          ActionErrors errors=new ActionErrors();
          return errors;
      }
}

⌨️ 快捷键说明

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