| |
|
| org.apache.struts.validator.ValidatorForm org.apache.struts.webapp.upload.UploadForm
UploadForm | public class UploadForm extends ValidatorForm (Code) | | This class is a placeholder for form values. In a multipart request, files are represented by
set and get methods that use the class org.apache.struts.upload.FormFile, an interface with
basic methods to retrieve file information. The actual structure of the FormFile is dependant
on the underlying impelementation of multipart request handling. The default implementation
that struts uses is org.apache.struts.upload.CommonsMultipartRequestHandler.
version: $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $ |
filePath | protected String filePath(Code) | | The file path to write to
|
queryParam | protected String queryParam(Code) | | The value of the embedded query string parameter
|
theFile | protected FormFile theFile(Code) | | The file that the user has uploaded
|
theText | protected String theText(Code) | | The value of the text the user has sent as form data
|
writeFile | protected boolean writeFile(Code) | | Whether or not to write to a file
|
getFilePath | public String getFilePath()(Code) | | Get the path to write a file to
|
getQueryParam | public String getQueryParam()(Code) | | Retrieve the value of the query string parameter
|
getTheFile | public FormFile getTheFile()(Code) | | Retrieve a representation of the file the user has uploaded
|
getTheText | public String getTheText()(Code) | | Retrieve the value of the text the user has sent as form data
|
getWriteFile | public boolean getWriteFile()(Code) | | Get whether or not to write to a file
|
reset | public void reset()(Code) | | |
setFilePath | public void setFilePath(String filePath)(Code) | | Set the path to write a file to
|
setQueryParam | public void setQueryParam(String queryParam)(Code) | | Set the value of the query string parameter
|
setTheFile | public void setTheFile(FormFile theFile)(Code) | | Set a representation of the file the user has uploaded
|
setTheText | public void setTheText(String theText)(Code) | | Set the value of the form data text
|
setWriteFile | public void setWriteFile(boolean writeFile)(Code) | | Set whether or not to write to a file
|
|
|
|