0

I have a requirement, wherein I need to upload multiple photos through one single browse button. I am using form-bean concept for achieving the same. The issue is how do I send multiple photos path from JSP to Action via Form Bean? I.E. how do I get multiple paths of photos in action file? I am using the below code to send single photo path from JSP which I have achieved successfully. Please guide me on how to upload multiple photos.

    <html:file property="file" styleId="<%=abc%>"

How to upload multiple filer through one single Browse Button through struts?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
sTg
  • 4,313
  • 16
  • 68
  • 115
  • 1
    The `file` field is only able to handle a single file. The user might put the multiple files into a Zip archive. – Andrew Thompson May 02 '13 at 08:17
  • Hi andrew..thank you for your feedback..But this is not my requirement i need to upload multiple photoes not zip or anyother file. – sTg May 02 '13 at 09:17
  • I need a flying pony. Doesn't mean I'm going to get one. And note it is spelled 'photos' - no 'e'. – Andrew Thompson May 02 '13 at 09:25
  • I need to do the same as multiple photos getting uploaded in facebook and attachement for Gmail with just a single cliIck. – sTg May 02 '13 at 19:04

0 Answers0