loginform.java

来自「该在线考试关系统(B/S结构)主要采用JAVA语言开发涉及主要WEB技术有:St」· Java 代码 · 共 112 行

JAVA
112
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package 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: 01-16-2008
 * 
 * XDoclet definition:
 * @struts.form name="loginForm"
 */
public class LoginForm extends ActionForm
{
	/*
	 * Generated fields
	 */

	/** password property */
	private String password_;

	/** identity property */
	private String identity;

	/** username property */
	private String username;

	/*
	 * 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 password.
	 * @return String
	 */


	/** 
	 * Returns the identity.
	 * @return String
	 */
	public String getIdentity()
	{
		return identity;
	}

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

	/** 
	 * 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;
	}

	public String getPassword_()
	{
		return password_;
	}

	public void setPassword_(String password_)
	{
		this.password_ = password_;
	}
}

⌨️ 快捷键说明

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