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

📄 regform.java

📁 一个简单的登陆系统
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.niit.struts.web.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: 04-20-2009
 * 
 * XDoclet definition:
 * @struts.form name="regForm"
 */
public class RegForm extends ActionForm
{
	/*
	 * Generated fields
	 */

	/** sname property */
	private String sname;

	/** age property */
	private Integer age;

	/** sid property */
	private Integer sid;

	/** city property */
	private String city;

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

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

	/** 
	 * Returns the age.
	 * @return String
	 */
	public Integer getAge()
	{
		return age;
	}

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

	/** 
	 * Returns the sid.
	 * @return Integer
	 */
	public Integer getSid()
	{
		return sid;
	}

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

	/** 
	 * Returns the city.
	 * @return String
	 */
	public String getCity()
	{
		return city;
	}

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

⌨️ 快捷键说明

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