wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Multiple requests to download files using JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Multiple requests to download files using JavaScript" Watch "Multiple requests to download files using JavaScript" New topic
Author

Multiple requests to download files using JavaScript

Saathvik Reddy
Ranch Hand

Joined: Jun 03, 2005
Posts: 228
Hi,

I have to download multiple files on a single request. Could anyone tell me how to use JavaScript to make multiple requests to the files for download and target the results to different windows.

Thanks,
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61456
    
  67

Can't be done. A single request can return only one response. There is no way to split the response up to separate windows, or to split the request into multiple responses. You'll need a separate request/response per window.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple requests to download files using JavaScript