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

📄 registform.java

📁 这是一个完整的SSH整合的例子
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package org.hj.struts.form;

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: 01-16-2008
 * 
 * XDoclet definition:
 * @struts.form name="registForm"
 */
public class RegistForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** stuHabit property */
	private String stuHabit;

	/** stuage property */
	private Integer stuage;

	/** stuName property */
	private String stuName;

	/** stusex property */
	private Integer stusex;

	/** stuId property */
	private Integer stuId;

	/*
	 * 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 stuHabit.
	 * @return String
	 */
	public String getStuHabit() {
		return stuHabit;
	}

	/** 
	 * Set the stuHabit.
	 * @param stuHabit The stuHabit to set
	 */
	public void setStuHabit(String stuHabit) {
		this.stuHabit = stuHabit;
	}

	/** 
	 * Returns the stuage.
	 * @return Integer
	 */
	public Integer getStuage() {
		return stuage;
	}

	/** 
	 * Set the stuage.
	 * @param stuage The stuage to set
	 */
	public void setStuage(Integer stuage) {
		this.stuage = stuage;
	}

	/** 
	 * Returns the stuName.
	 * @return String
	 */
	public String getStuName() {
		return stuName;
	}

	/** 
	 * Set the stuName.
	 * @param stuName The stuName to set
	 */
	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	/** 
	 * Returns the stusex.
	 * @return Integer
	 */
	public Integer getStusex() {
		return stusex;
	}

	/** 
	 * Set the stusex.
	 * @param stusex The stusex to set
	 */
	public void setStusex(Integer stusex) {
		this.stusex = stusex;
	}

	/** 
	 * Returns the stuId.
	 * @return Integer
	 */
	public Integer getStuId() {
		return stuId;
	}

	/** 
	 * Set the stuId.
	 * @param stuId The stuId to set
	 */
	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}
}

⌨️ 快捷键说明

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