how can I upload multiple files?
1 posts in topic
Flat View  Flat View

Posted By:   Caroline_Ford
Posted On:   Friday, May 10, 2002 01:27 AM

I'am using com.oreilly package to upload a file, but I can only upload one, how can I upload multiple files?
I will be very glad if someone can help me.

Re: how can I upload multiple files?

Posted By:   Anonymous  
Posted On:   Sunday, May 12, 2002 03:33 AM

There is an example webapp bundled with the com.oreilly.servlet package demonstrating multi-file upload. Deploy upload.war in your servlet container. The MultipartRequest class allows you to get the names of all uploaded files with the method getFileNames(). You can iterate through all file names an get each file using getFile(filename).

About | Sitemap | Contact