xxform.java
来自「在一个大的项目中建立小的子应用,这样就可以一个项目同时有几个小分队开发.可以完成」· Java 代码 · 共 105 行
JAVA
105 行
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package t0522;
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: 05-22-2008
*
* XDoclet definition:
* @struts.form name="xxForm"
*/
public class XxForm extends ActionForm {
/*
* Generated fields
*/
/** password property */
private String password;
/** age property */
private String age;
/** login property */
private String login;
/*
* 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 age.
* @return String
*/
public String getAge() {
return age;
}
/**
* Set the age.
* @param age The age to set
*/
public void setAge(String age) {
this.age = age;
}
/**
* Returns the login.
* @return String
*/
public String getLogin() {
return login;
}
/**
* Set the login.
* @param login The login to set
*/
public void setLogin(String login) {
this.login = login;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?