Re: File download
Re: File download
- Subject: Re: File download
- From: Art Isbell <email@hidden>
- Date: Tue, 6 Apr 2004 18:24:03 -1000
On Apr 6, 2004, at 4:37 PM, email@hidden wrote:
However, Safari still displays the
content in the browser as plain text instead of saving it to a file.
public void appendToResponse(WOResponse aResponse, WOContext
aContext) {
aResponse.appendContentString(string);
aResponse.setHeader("text/comma-separated-values",
"Content-Type");
Try "application/octet-stream", or "application/vnd.ms-excel" if you
want to give a hint to open the file in Excel.
Aloha,
Art
_______________________________________________
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.