| Author |
Struts 2 Multiple File Download
|
Glen Divers
Ranch Hand
Joined: Jan 21, 2010
Posts: 61
|
|
Hi
I've successfully implemented a single file download using the Stream result. How do I deal with the situation where I have multiple files to download? I want to allow the user to select a number of files and then download all the chosen files, rather than force the user to select a file, download it, select another file, download it etc etc.
Regards
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8291
|
|
|
HTTP is a single request- single response protocol. Your options are to either force your user to click multiple times, or make some server-side functionality to put multiple files in an archive file and return that as the response.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Struts 2 Multiple File Download
|
|
|