Content-Dispositon issue in IE9
I want to download a file as an attachment to IE9 browser. I have written the code to perform this and is working fine in IE6 and Ie7 but not in IE9. When i click open button in IE9 information bar it says "file might have been moved or deleted". But sometimes IE9 is opening the documents. Please find the below code which i am using. Please help me in resolving the issue.
servletOutputStream = response.getOutputStream();