How can you select multiple files for upload to a servlet? The browse button on my form only allows me to choose one file at a time.
Created May 4, 2012
Jorge Jordão
Just as an <INPUT TYPE="text"> component only allows you to specify a single (text) value, an <INPUT TYPE="file"> component only specifies one file.
You'll have to put as many file components in your page as the number of files you want to upload. Remember to assign a different NAME attribute value to each.
[See also How do I upload a file to my servlet? ]
[Does anyone have a more elegant solution? -Alex]