loginform.java

来自「ssh写的学生管理系统」· Java 代码 · 共 107 行

JAVA
107
字号
package com.stuman.web.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;public class LoginForm extends ActionForm {	private static final long serialVersionUID = 1L;	/** password property */	private String password;	/** sort property */	private String sort;	/** username property */	private String username;	// --------------------------------------------------------- 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 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 sort.	 * 	 * @return String	 */	public String getSort() {		return sort;	}	/**	 * Set the sort.	 * 	 * @param sort	 *            The sort to set	 */	public void setSort(String sort) {		this.sort = sort;	}	/**	 * 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;	}}

⌨️ 快捷键说明

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