⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 empform.java

📁 ajax 例子. 包括:ajax实现级联菜单,下拉列表,dwr的使用. ajax总结文档. 以及相关ajax书籍等.
💻 JAVA
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.1/xslt/JavaClass.xslpackage com.star.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;/**  * MyEclipse Struts * Creation date: 11-01-2006 *  * XDoclet definition: * @struts.form name="empForm" */public class EmpForm extends ActionForm {	// --------------------------------------------------------- Instance Variables	private int id;		/** name property */	private String name;	/** salary property */	private int salary;	// --------------------------------------------------------- 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 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;	}	/** 	 * Returns the salary.	 * @return int	 */	public int getSalary() {		return salary;	}	/** 	 * Set the salary.	 * @param salary The salary to set	 */	public void setSalary(int salary) {		this.salary = salary;	}	public int getId() {		return id;	}	public void setId(int id) {		this.id = id;	}}

⌨️ 快捷键说明

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