setting "attachment;" in
response.setHeader("Content-Disposition","attachment;filename=\"" + filename +
"\"");
leeds some problems with IE, after the file download "Access denied" is recived
if one tries to access document property of the window object in JS. Instead use
response.setHeader("Content-Disposition","filename=\"" + filename + "\"");
NS don't work in neither case. It tries to download file with added .jsp
extension (in my case) and after that did not download anything. Maybe it needs
some additional header(s)?
setting "attachment;" in response.setHeader("Content-Disposition","attachment;filename=\"" + filename + "\""); leeds some problems with IE, after the file download "Access denied" is recived if one tries to access document property of the window object in JS. Instead use response.setHeader("Content-Disposition","filename=\"" + filename + "\""); NS don't work in neither case. It tries to download file with added .jsp extension (in my case) and after that did not download anything. Maybe it needs some additional header(s)?