sure, this is an easy fix... just append a bogus parameter so your URL ends
in .xls and you'll be fine... IE doesn't depend as much on the content-type
as it ought to.

N

At 11:13 AM 9/17/00, sridhar r wrote:
>Hi
>I have a problem with the IE.When I try to download a
>file with the given content type and header,the file
>gets downloaded perfectly into our local machine with
>Netscape browser but when i try with IE it gets opened
>in the browser itself.Can anyone give me a solution in
>overcoming this problem.
>
>response.setContentType("application/vnd.ms-excels;
>charset=us-ascii");
>
>response.setHeader("Content-Transfer-Encoding",
>"7bit");
>
>response.setHeader("Content-disposition",
>"attachment;  filename=\"sample.xls\"");
>
>regards
>Sridhar
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Mail - Free email you can access from anywhere!
>http://mail.yahoo.com/
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to