?? registerform.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 + -