RE: multiple file uploads with one property

2005-05-06 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> http://issues.apache.org/bugzilla/show_bug.cgi?id=25963 I applied the suggested patch, and tested it. Looks like it works, though I'm not exactly sure what an automated test script would like for this use case. BTW, does anyone else find the ASCII art in this test hilarious? http://tinyu

RE: multiple file uploads with one property

2005-05-05 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> There are these tickets related to this: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=6847 > http://issues.apache.org/bugzilla/show_bug.cgi?id=25963 > http://issues.apache.org/bugzilla/show_bug.cgi?id=29807 Hmm, yeah ok, I'll look at these. It would be nice if this were fixed before 1

Re: multiple file uploads with one property

2005-05-05 Thread Niall Pemberton
Apologies, I'm not an expert in FileUpload. However I believe the Commons FileUpload will handle multiple files - since what it does is basically parse the request and return a list of items. I think the issue is probably in Struts. There are these tickets related to this: http://issues.apache.org

RE: multiple file uploads with one property

2005-05-05 Thread Durham David R Jr Ctr 805 CSPTS/SCE
/SCE > Sent: Thursday, May 05, 2005 11:16 AM > To: Struts Users Mailing List > Subject: multiple file uploads with one property > > Tried using a property like this: > > type="org.apache.struts.validator.DynaValidatorForm"> > type="org.apache.struts

multiple file uploads with one property

2005-05-05 Thread Durham David R Jr Ctr 805 CSPTS/SCE
Tried using a property like this: But I get the following class cast exception: org.apache.commons.beanutils.ConversionException: Cannot assign value of type rg.apache.struts.upload.CommonsMultipartRequestHandler$CommonsFormFile' to property 'files' of type '[org.apache.struts.upload.FormF