loginform.java

来自「此资源是jsp应用开发 邓子云等编写的一书里的源代码」· Java 代码 · 共 66 行

JAVA
66
字号
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.1.1/xslt/JavaClass.xslpackage test.form;import org.apache.struts.action.ActionForm;/**  * MyEclipse Struts * Creation date: 06-09-2007 *  * XDoclet definition: * @struts.form name="loginForm" */public class LoginForm extends ActionForm {	// --------------------------------------------------------- Instance Variables	/**	 * 	 */	private static final long serialVersionUID = 1L;	/** password property */	private String password;	/** name property */	private String name;	// --------------------------------------------------------- Methods	/** 	 * Returns the password.	 * @return String	 */	public String getPassword() {		return password;	}	/** 	 * Set the password.	 * @param password The password to set	 */	public void setPassword(String password) {		this.password = password;	}	/** 	 * Returns the name.	 * @return String	 */	public String getName() {		return name;	}	/** 	 * Set the name.	 * @param name The name to set	 */	public void setName(String name) {		this.name = name;	}}

⌨️ 快捷键说明

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