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

📄 upload1form.java

📁 轻松实现上传功能 struts,
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.upload.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: 10-27-2007
 * 
 * XDoclet definition:
 * @struts.form name="upload1Form"
 */
public class Upload1Form extends ActionForm {
	/*
	 * Generated fields
	 */

	/** filename property */
	private String filename;

	/** filepath property */
	private String filepath;

	/*
	 * 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 filename.
	 * @return String
	 */
	public String getFilename() {
		return filename;
	}

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

	/** 
	 * Returns the filepath.
	 * @return String
	 */
	public String getFilepath() {
		return filepath;
	}

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

⌨️ 快捷键说明

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