example.struts
Class FileUploadForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by example.struts.FileUploadForm
All Implemented Interfaces:
java.io.Serializable

public class FileUploadForm
extends org.apache.struts.action.ActionForm

Author:
Sean C. Sullivan
See Also:
Serialized Form

Field Summary
private  org.apache.struts.upload.FormFile file
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
FileUploadForm()
           
 
Method Summary
 org.apache.struts.upload.FormFile getFile()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void setFile(org.apache.struts.upload.FormFile f)
           
 java.lang.String toString()
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

file

private org.apache.struts.upload.FormFile file
Constructor Detail

FileUploadForm

public FileUploadForm()
Method Detail

setFile

public void setFile(org.apache.struts.upload.FormFile f)

getFile

public org.apache.struts.upload.FormFile getFile()

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Overrides:
reset in class org.apache.struts.action.ActionForm

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Overrides:
validate in class org.apache.struts.action.ActionForm

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 strutsblobapp.sourceforge.net. All Rights Reserved.