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

Reply via email to