• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOLongResponsePage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOLongResponsePage


  • Subject: WOLongResponsePage
  • From: "Kranthi Sagar Borra" <email@hidden>
  • Date: Fri, 21 Nov 2003 20:23:25 +0530
  • Thread-topic: 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.

  • Prev by Date: Re: Reference projects
  • Next by Date: Re: WOApplication.primeApplication() deprecated
  • Previous by thread: WebObjects Programmer Needed in Utah
  • Next by thread: Error Deserializing EOGlobalID via Web Services
  • Index(es):
    • Date
    • Thread