I have a page where we can download a data file (data.csv) and I want to
monitor the number of downloading, so I link the download image with a
servlet that records in a database everything I want to record.
Then I redirect to the page to be downloaded.
The browser just don't know .csv pages, so it behaves as I wished:
It proposes to download it, but the problem I have is that the name of the file
to download proposed by the
browser is the one of my servlet. And I'd like to give it 'data.csv' name.
Is there a way ? A trick ?
Thanks for any kind of help.

Manu

===========================================================================
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