In our code we have a JSP which generates output in CSV format. The user gets the normal IE dialog in which he/she chooses the directory and file name into which the output will be stored on the PC.
In the servlet this is the code :
resp.setHeader("content-disposition", "Content-Disposition: attachment; filename=AccrualList.csv");
forwardToJsp("/someCSV.jsp", req, resp);
I want to know that if I have set the header correctly ? or is there any other way I can download the dynamic contents in CSV format.
Any help is appreciated..
-
Hourglass remains after downloading CSV file (1 messages)
- Posted by: Raminder Bhrara
- Posted on: July 05 2001 00:28 EDT
Threaded Messages (1)
- Hourglass remains after downloading CSV file by Kari Sarsila on July 25 2001 07:46 EDT
-
Hourglass remains after downloading CSV file[ Go to top ]
- Posted by: Kari Sarsila
- Posted on: July 25 2001 07:46 EDT
- in response to Raminder Bhrara
I have been facing the same problem, but haven't still found the solution. Did you solve the problem yet?