Re: Download File Question for IE
Re: Download File Question for IE
- Subject: Re: Download File Question for IE
- From: James Cicenia <email@hidden>
- Date: Mon, 3 Apr 2006 09:07:57 -0500
I am thinking it has to do with how I am setting mimetypes, etc.???
Other sites seem to work properly.
Here is my simple piece of code:
response.setHeader("application/vnd.ms-excel", "Content-Type");
response.setHeader(theDocumentItem.projectDocumentObject
().documentObject().length()+"", "Content-Length");
response.setHeader("filename=\""+theDocumentItem.title()
+"\"","Content-Disposition");
response.setContent(theDocumentItem.projectDocumentObject
().documentObject());
any thoughts?
Thanks
James
On Apr 3, 2006, at 2:40 AM, Wolfram Stebel wrote:
Am 03.04.2006 4:38 Uhr schrieb "James Cicenia" unter
<email@hidden>:
Hello -
Anyone knows why IE brings up a viewer vs. the regular Microsoft
Application?
In other words instead of downloading the file and launching EXCEL it
brings
up the EXCEL viewer instead.
- James Cicenia
As far as i know, this is handled via the awfull registry.
Check your "file types" and the association to applications.
HTH
Wolfram
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden