📄 loginactionform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.zg.actionForm;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* MyEclipse Struts
* Creation date: 04-28-2009
*
* XDoclet definition:
* @struts.form name="loginActionForm"
*/
public class LoginActionForm extends ActionForm {
/*
* Generated fields
*/
/** password property */
private String password;
/** userid property */
private int userid;
/** yanzhengma property */
private String yanzhengma;
/** username property */
private String username;
/** yanzhengma1 property */
private String yanzhengma1;
/** password1 property */
private String password1;
/*
* Generated Methods
*/
/**
* Method validate
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
return null;
}
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
// TODO Auto-generated method stub
}
/**
* Returns the password.
* @return String
*/
public String getPassword() {
return password;
}
/**
* Set the password.
* @param password The password to set
*/
public void setPassword(String password) {
this.password = password;
}
/**
* Returns the userid.
* @return int
*/
public int getUserid() {
return userid;
}
/**
* Set the userid.
* @param userid The userid to set
*/
public void setUserid(int userid) {
this.userid = userid;
}
/**
* Returns the yanzhengma.
* @return String
*/
public String getYanzhengma() {
return yanzhengma;
}
/**
* Set the yanzhengma.
* @param yanzhengma The yanzhengma to set
*/
public void setYanzhengma(String yanzhengma) {
this.yanzhengma = yanzhengma;
}
/**
* Returns the username.
* @return String
*/
public String getUsername() {
return username;
}
/**
* Set the username.
* @param username The username to set
*/
public void setUsername(String username) {
this.username = username;
}
/**
* Returns the yanzhengma1.
* @return String
*/
public String getYanzhengma1() {
return yanzhengma1;
}
/**
* Set the yanzhengma1.
* @param yanzhengma1 The yanzhengma1 to set
*/
public void setYanzhengma1(String yanzhengma1) {
this.yanzhengma1 = yanzhengma1;
}
/**
* Returns the password1.
* @return String
*/
public String getPassword1() {
return password1;
}
/**
* Set the password1.
* @param password1 The password1 to set
*/
public void setPassword1(String password1) {
this.password1 = password1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -