• 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
Re: Download File Question for IE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Download File Question for IE
      • From: Zak Burke <email@hidden>
    • Re: Download File Question for IE
      • From: Kieran Kelleher <email@hidden>
References: 
 >Re: Download File Question for IE (From: Wolfram Stebel <email@hidden>)

  • Prev by Date: Re: ORACLE and WEBOBJECTS
  • Next by Date: Re: ORACLE and WEBOBJECTS
  • Previous by thread: Re: Download File Question for IE
  • Next by thread: Re: Download File Question for IE
  • Index(es):
    • Date
    • Thread