Hello all,

It's there somebody that has experience the following error, and has solved
it?

This lines of code I use to generate an excel sheet in a servlet:

response.setHeader("content-type","application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment; filename=\"" +
"file.xls" + "\";");

this last line, that helps me to save the excel file with extension xls,
after the user has downloaded the excel document, the page does not stop, it
seems it continues searches something else.

Please tell me how to stop it or if there something else I am missing.

Thanks 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

Reply via email to