>2. I can create file button in loop so it can be added as per requirement. But, in this case the name of file button will be same. I do not think that you can set multiple FormFile using one name. I think it is some sort of limitation of the Strut framework, but you can always provide that functionality yourself.
How about loading 1 file at a time, like the way HotMail works. Anyone else have a good way of handling a varible number of files to be uploaded? Regards, Daniel -----Original Message----- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 5:34 PM To: Struts Users Mailing List Subject: multiple file upload My requirement is to upload some files, the no of files are not known as the user can add no of files to be attched/uploaded. So, I have two options for doing that - 1. I create the file button dynamically with different name, but in this case how can I add that parameter in form bean. 2. I can create file button in loop so it can be added as per requirement. But, in this case the name of file button will be same. I would like to go for 2nd, as it looks easy to implement. But the problem is that I am not sure if struts can handle such situation where there are multiple file button with same name. Any help will be appreciable. Amit. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

