studinfoform.java

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

JAVA
154
字号
//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;import org.apache.struts.action.ActionMapping;//import org.apache.struts.action.ActionErrors;//import org.apache.struts.action.ActionMessage;import javax.servlet.http.HttpServletRequest;/**  * MyEclipse Struts * Creation date: 06-09-2007 *  * XDoclet definition: * @struts.form name="studInfoForm" */public class StudInfoForm extends ActionForm {	// --------------------------------------------------------- Instance Variables	/**	 * 	 */	private static final long serialVersionUID = 1L;	/** csrq property */	private int nl;	/** xh property */	private String xh;	/** zzmm property */	private String zzmm;	/** xm property */	private String xm;	/** xb property */	private String xb;	/** bz property */	private String bz;	// --------------------------------------------------------- Methods	/** 	 * Returns the csrq.	 * @return String	 */	public int getNl() {		return nl;	}	/** 	 * Set the csrq.	 * @param csrq The csrq to set	 */	public void setNl(int nl) {		this.nl = nl;	}	/** 	 * Returns the xh.	 * @return String	 */	public String getXh() {		return xh;	}	/** 	 * Set the xh.	 * @param xh The xh to set	 */	public void setXh(String xh) {		this.xh = xh;	}	/** 	 * Returns the zzmm.	 * @return String	 */	public String getZzmm() {		return zzmm;	}	/** 	 * Set the zzmm.	 * @param zzmm The zzmm to set	 */	public void setZzmm(String zzmm) {		this.zzmm = zzmm;	}	/** 	 * Returns the xm.	 * @return String	 */	public String getXm() {		return xm;	}	/** 	 * Set the xm.	 * @param xm The xm to set	 */	public void setXm(String xm) {		this.xm = xm;	}	/** 	 * Returns the xb.	 * @return String	 */	public String getXb() {		return xb;	}	/** 	 * Set the xb.	 * @param xb The xb to set	 */	public void setXb(String xb) {		this.xb = xb;	}	/** 	 * Returns the bz.	 * @return String	 */	public String getBz() {		return bz;	}	/** 	 * Set the bz.	 * @param bz The bz to set	 */	public void setBz(String bz) {		this.bz = bz;	}	public void reset(ActionMapping mapping,HttpServletRequest request){		this.bz="";		this.xb="";		this.xh="";		this.xm="";		this.zzmm="";		this.nl=0;	}}

⌨️ 快捷键说明

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