Its always better to post the code to the list for prompt and correct
answers to your queries.
Just an opinion :-).
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
----- Original Message -----
From: Lorena Carlo <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 10:29 PM
Subject: How to force the download of an excel file (please
help!!!!!!!!!!!!!!!)
> Hello everybody,
>
> I have a problem forcing the download of an excel file that is generated
by
> a servlet. I use the following line of code:
>
> response.setHeader("Content-Disposition","attachment; filename=\"" +
> "movimiento.xls" + "\";");
>
> It prompts the dialog to save, but after I has finished to download the
file
> in the client machine, the window keeps running, and i doesn't stop.
>
> I am using IE 5.0 to do the tests, please tell me what is wrong is there a
> bug on servlets, or if there another way to force the downloading of a
file.
>
> For your help I thank you in advance
>
> Lorena Carlo
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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