Eric, You should do a search on the list. I remember reading, many months ago, that this wasn't possible with the Commons FileUpload - you have to use multiple file fields (one per file to upload), not select multiple files for one file field.
Regards, David -----Original Message----- From: Eric Chow [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 11:45 PM To: [EMAIL PROTECTED] Subject: Question about upload multi files ??? Hello, It is easy to use Struts to upload multi files, right? There is also an example in the struts example. My question is that, how can I dynamic add the file for upload? For example, there is only one button "Add file", when click on it, it will open the file browser for selecting which file to be uploladed. After selected, it just show the file path and name in the web page. It should allow add more than one files. After click a SUBMIT button, it will upload all the selected files. Is it possible to do this in Struts ?? Any example ?? Eric ========================== If you know what you are doing, it is not called RESEARCH! ========================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]