This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Java » Servlets
Bookmark "Multiple files download in 1 http request" Watch "Multiple files download in 1 http request" New topic

Multiple files download in 1 http request

Susan Atmaja

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

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.
Have you checked out Aspose?
subject: Multiple files download in 1 http request
It's not a secret anymore!