📄 cabean.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 CABean extends ActionForm{
/** Creates a new instance of CABeann */
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 + -