FileUpload and ActionForward

2004-03-03 Thread Tim Coy
I am trying to use org.apache.commons.fileupload within an ActionForward() to upload files. Having created a DiskFileUpload fu = new DiskFileUpload(); And parsed it with List fileItems = fu.parseRequest(request); I find that fileItems.size() = 0 I seemed to be not able to get the required

Re: FileUpload and ActionForward

2004-03-03 Thread Hubert Rabago
There is a sample application that ships with Struts (struts-upload.war) which shows how they wrapped commons-fileupload to work with ActionForms. Hubert --- Tim Coy [EMAIL PROTECTED] wrote: I am trying to use org.apache.commons.fileupload within an ActionForward() to upload files.

Re: FileUpload and ActionForward

2004-03-03 Thread Tim Coy
Doh! Perfect thank you -- Tim Coy There is a sample application that ships with Struts (struts-upload.war) which shows how they wrapped commons-fileupload to work with ActionForms. Hubert --- Tim Coy [EMAIL PROTECTED] wrote: I am trying to use org.apache.commons.fileupload within an

Re: FileUpload and ActionForward

2004-03-03 Thread Tim Coy
Although... With my limited programming experience I can not see how they have used org.apache.commons.fileupload in the example -- Tim Coy There is a sample application that ships with Struts (struts-upload.war) which shows how they wrapped commons-fileupload to work with ActionForms.