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

📄 photoform.java

📁 上传文件和图片
💻 JAVA
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.9.210/xslt/JavaClass.xslpackage cn.com.yzb.form;import javax.servlet.http.HttpServletRequest;import org.apache.struts.action.ActionErrors;import org.apache.struts.action.ActionForm;import org.apache.struts.action.ActionMapping;import org.apache.struts.upload.FormFile;/**  * MyEclipse Struts * Creation date: 05-05-2007 *  * XDoclet definition: * @struts:form name="photoForm" */public class PhotoForm extends ActionForm {	// --------------------------------------------------------- Instance Variables	/** file property */	private FormFile file;	private String photoName;	// --------------------------------------------------------- Methods	public String getPhotoName() {		return photoName;	}	public void setPhotoName(String photoName) {		this.photoName = photoName;	}	/** 	 * 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 file.	 * @return String	 */	public FormFile getFile() {		return file;	}	/** 	 * Set the file.	 * @param file The file to set	 */	public void setFile(FormFile file) {		this.file = file;	}}

⌨️ 快捷键说明

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