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

📄 registerform.java

📁 Struts + Hibernate教学录像(第4集)
💻 JAVA
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.8.4/xslt/JavaClass.xslpackage com.sonic.struts.form;import javax.servlet.http.HttpServletRequest;import org.apache.struts.action.ActionErrors;import org.apache.struts.action.ActionMapping;import org.apache.struts.validator.ValidatorForm;/**  * MyEclipse Struts * Creation date: 04-28-2005 *  * XDoclet definition: * @struts:form name="registerForm" */public class RegisterForm extends ValidatorForm {	// --------------------------------------------------------- Instance Variables	/** userName property */	private String userName;	/** userPwd property */	private String userPwd;	// --------------------------------------------------------- Methods	/** 	 * Method validate	 * @param mapping	 * @param request	 * @return ActionErrors	 */	public ActionErrors validator(		ActionMapping mapping,		HttpServletRequest request) {		throw new UnsupportedOperationException(			"Generated method 'validate(...)' not implemented.");	}	/** 	 * Method reset	 * @param mapping	 * @param request	 */	public void reset(ActionMapping mapping, HttpServletRequest request) {		this.userName=null;		this.userPwd=null;	}	/** 	 * 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 userPwd.	 * @return String	 */	public String getUserPwd() {		return userPwd;	}	/** 	 * Set the userPwd.	 * @param userPwd The userPwd to set	 */	public void setUserPwd(String userPwd) {		this.userPwd = userPwd;	}}

⌨️ 快捷键说明

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