I am using jquery file download ..
the code is as follows :
function downloadFile(){ var downloadOptions = { preparingMessageHtml: \"We are preparing y
In order to make JQuery knows the file download just ocurred, your response header must contains Set-Cookie: fileDownload=true; path=/.
Set-Cookie: fileDownload=true; path=/
In Java:
response.setHeader("Set-Cookie", "fileDownload=true; path=/");