DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6847>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6847

Multiple file upload not possible due to MultiPartRequestHandler limitation? 

           Summary: Multiple file upload not possible due to
                    MultiPartRequestHandler limitation?
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: File Upload
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


File upload of a single file with Struts seems to work OK. But it fails for multiple 
files. Note: I 
mean 1 <INPUT TYPE="FILE"> tag where the user selects *multiple* files (Opera and IE 
allow this), 
not multiple <INPUT TYPE="FILE"> tags!

The MultipartRequestHandler doesn't seem to 
support this, since it getFileElements() returns FormFiles in a hashtable, and cannot 
therefore handle more than 1 FormFile for each input name. 

The only way around this is to put 
multiple INPUT tags on the page, which is a problem when I want to allow the user to 
upload a lot of 
(small) files.

TIA

Marcel Maré

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to