?? fileuploadform.java
字號:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.david.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import org.apache.struts.validator.ValidatorForm;
/**
* MyEclipse Struts
* Creation date: 10-20-2007
*
* XDoclet definition:
* @struts.form name="fileUploadForm"
*/
public class FileUploadForm extends ValidatorForm {
/*
* Generated fields
*/
/** fileName property */
private String fileName;
/** category property */
private Integer category;
/** fileIntro property */
private String fileIntro;
/** point property */
private Integer point;
/** theFile property */
private FormFile theFile;
/*
* 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 category.
* @return Integer
*/
public Integer getCategory() {
return category;
}
/**
* Set the category.
* @param category The category to set
*/
public void setCategory(Integer category) {
this.category = category;
}
/**
* Returns the fileIntro.
* @return String
*/
public String getFileIntro() {
return fileIntro;
}
/**
* Set the fileIntro.
* @param fileIntro The fileIntro to set
*/
public void setFileIntro(String fileIntro) {
this.fileIntro = fileIntro;
}
/**
* Returns the point.
* @return Integer
*/
public Integer getPoint() {
return point;
}
/**
* Set the point.
* @param point The point to set
*/
public void setPoint(Integer point) {
this.point = point;
}
/**
* Returns the theFile.
* @return String
*/
public FormFile getTheFile() {
return theFile;
}
/**
* Set the theFile.
* @param theFile The theFile to set
*/
public void setTheFile(FormFile theFile) {
this.theFile = theFile;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -