Upload multiple files in Struts2 with Dropzone.js
Problem When you use <input type=”file” name=”file” multiple /> the files will all be sent with name=”file”, eg: Content-Disposition: form-data; name=”file”; filename=”foo.jpg” Content-Type: image/jpeg ……….. . … ……. Content-Disposition: form-data; name=”file”; filename=”bar.jpg” Content-Type: image/jpeg …. . .. ……. and this is the right parameter Struts2 FileUpload Interceptor is expecting to receive, to work with a … Read more