Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOLongResponsePage



Hai..

I need to download files of huge size.To overcome session problems, I am implementing WOLongResponsePage.So my fist page has a link of filename, which on clicking takes me to the page implementing WOLongResponsePage.Here I shall display a message "Downloading File...Please Wait. " in the browser. Now for downloading the file, i append the file to response object in the appendtoResponse function and send it.But now at the same time I should be able to get back to the page that I am coming from.So its like I need to set the 
 aResponse.setHeader("application/octet-stream","content-type"); //for downloading the file and
 aResponse.setHeader("text/html; charset=UTF-8;","content-type");//for going back to the page that I cam from

But I think we cannot use both.So can someone please tell me how to deal with this.
 


Regards,
Kranthi Sagar
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.