Download window pop up in JSP..
Hi,
I have a link in JSP to download some data in CSV format. I am calling a different JSP upon click of this JSP which shows download window. I am doing this with the help of setting different headers of responce (imlicit object in JSP). Code snippet is given below :
<%
response.reset();
response.setHeader("Connection","keep-alive");
response.setHeader("Content-Type","application/csv");
response.setHeader("Accept-Ranges","bytes");
response.setHeader("Content-Disposition","attachment; filename=" + "DownloadActivityLogs.csv");%><%= "Date/Time" %>,<%= "User" %>,<%= "Activity" %>,<%= "Description" %>,<%= "Lodgement ID" %>
when i click link and download window comes up. now the problem is when i cancel it and comes to main screen and now if i click on some other link same download comes up (as if it is in cache). And if i click on some link second time m session expires and says 'Invalid parameters passed'.
Please let me know if somebody have any hint.

