File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Multiple files download in 1 http request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Multiple files download in 1 http request" Watch "Multiple files download in 1 http request" New topic
Author

Multiple files download in 1 http request

Susan Atmaja
Greenhorn

Joined: Feb 02, 2004
Posts: 2
I need client to be able to download multiple files in 1 http request, without using javascript, just pure html.
I know it can be zipped, but my client doesn't allow that to be implemented. In addition to that, the files also need to be downloaded as separate files (can't be combined to just 1 file).
I believe it would involve setting of the http header from the servlet. Please advise. Thanks.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Do they allow anything? Sounds a bit 'pointy haired' to me. Tell them to get over the 'must happen in a single request' requirement then use JavaScript.
Obviously my feelings are that is an unreasonable request. Obviously you've seen the thread here. I'm not aware of anything you can do with the header that will help you.
Dave
 
Don't get me started about those stupid light bulbs.
 
subject: Multiple files download in 1 http request