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. > > 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 information out of the request, > it appears to be empty. > > Is it possible to do, will someone point me to an example? > > > -- > Tim Coy > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]