C
Chris
My webapp needs to return a dynamically-generated .csv file to the user. I
can create a .jsp page that returns the csv, and I add <%@ page
contentType="text/csv" %> to the top of the page to specify the mimetype.
When I click on a link that points to the page, the browser (IE) correctly
asks whether to open or save the file.
Here's the problem: the filename it suggests has a .jsp extension, not a
..csv extension. How can I change this?
can create a .jsp page that returns the csv, and I add <%@ page
contentType="text/csv" %> to the top of the page to specify the mimetype.
When I click on a link that points to the page, the browser (IE) correctly
asks whether to open or save the file.
Here's the problem: the filename it suggests has a .jsp extension, not a
..csv extension. How can I change this?