addstudentform.java

来自「为基于J2EE(Java2 Platform」· Java 代码 · 共 136 行

JAVA
136
字号
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.1/xslt/JavaClass.xslpackage com.huang.forms;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: 06-02-2008 *  * XDoclet definition: * @struts.form name="addStudentForm" */public class AddStudentForm extends ActionForm {	// --------------------------------------------------------- Instance Variables	/** student_password property */	private String student_password;	/** student_sex property */	private String student_sex;	/** student_id property */	private String student_id;	/** profession_id property */	private String profession_id;	/** student_name property */	private String student_name;	// --------------------------------------------------------- Methods	/** 	 * Method validate	 * @param mapping	 * @param request	 * @return ActionErrors	 */	public ActionErrors validate(		ActionMapping mapping,		HttpServletRequest request) {		// TODO Auto-generated method stub		return null;	}	/** 	 * Returns the student_password.	 * @return String	 */	public String getStudent_password() {		return student_password;	}	/** 	 * Set the student_password.	 * @param student_password The student_password to set	 */	public void setStudent_password(String student_password) {		this.student_password = student_password;	}	/** 	 * Returns the student_sex.	 * @return String	 */	public String getStudent_sex() {		return student_sex;	}	/** 	 * Set the student_sex.	 * @param student_sex The student_sex to set	 */	public void setStudent_sex(String student_sex) {		this.student_sex = student_sex;	}	/** 	 * Returns the student_id.	 * @return String	 */	public String getStudent_id() {		return student_id;	}	/** 	 * Set the student_id.	 * @param student_id The student_id to set	 */	public void setStudent_id(String student_id) {		this.student_id = student_id;	}	/** 	 * Returns the profession_id.	 * @return String	 */	public String getProfession_id() {		return profession_id;	}	/** 	 * Set the profession_id.	 * @param profession_id The profession_id to set	 */	public void setProfession_id(String profession_id) {		this.profession_id = profession_id;	}	/** 	 * Returns the student_name.	 * @return String	 */	public String getStudent_name() {		return student_name;	}	/** 	 * Set the student_name.	 * @param student_name The student_name to set	 */	public void setStudent_name(String student_name) {		this.student_name = student_name;	}}

⌨️ 快捷键说明

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