I am using sendRedirect method to send to client the file, created on the Server side:
response.sendRedirect(ls_filename);
where ls_filename - it is report, which is created with different arguments, it saved as file in server directory.
When file name is changed, it works fine, client browser display a new report. But when file name is the same, but report is created with another arguments, client browser display the previous report with old arguments, though in server directory was saved a new report with new arguments as ls_filename.
May be I need to refresh response headers to let client browser to display a new report? How to do it?
response.sendRedirect(ls_filename);
where ls_filename - it is report, which is created with different arguments, it saved as file in server directory.
When file name is changed, it works fine, client browser display a new report. But when file name is the same, but report is created with another arguments, client browser display the previous report with old arguments, though in server directory was saved a new report with new arguments as ls_filename.
May be I need to refresh response headers to let client browser to display a new report? How to do it?