Hi All,
I am trying to download the data with the help of servlet across https.
The below mentioned settings work fine if the application is on http.
httpservletresponse.setHeader("Cache-Control", "");
httpservletresponse.setHeader("pragma", "");
httpservletresponse.setContentType("application/text");
httpservletresponse.setHeader("Content-disposition","attachment;filename=Download"+dfileid+".txt");
But , if the application is on https the above settings is working fine if I am saving the file. But at the same time if I am trying to open I am getting the below error from Internet Explorer.
"Client( IE ) is trying to search the file from the local machine and showing an alert as listed below"
---------------------------------------------------------------------------------------------
Alert from the browser
---------------------------------------------------------------------------------------------
'C:\Documents and Settings\chalagen\Local Settings\Temporary Internet Files\Content.IE5\I9FGH0RI\Download196[1].csv' could not be found. Check the spelling of the file name, and verify that the file location is correct
If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved or deleted.
---------------------------------------------------------------------------------------------
I have changed the options of Tools > Internet Options> Advanced > Do not save encrypted pages to disk.
Please do let me know the solutions for the above problem.
Waiting for response,
SonaShree
I am trying to download the data with the help of servlet across https.
The below mentioned settings work fine if the application is on http.
httpservletresponse.setHeader("Cache-Control", "");
httpservletresponse.setHeader("pragma", "");
httpservletresponse.setContentType("application/text");
httpservletresponse.setHeader("Content-disposition","attachment;filename=Download"+dfileid+".txt");
But , if the application is on https the above settings is working fine if I am saving the file. But at the same time if I am trying to open I am getting the below error from Internet Explorer.
"Client( IE ) is trying to search the file from the local machine and showing an alert as listed below"
---------------------------------------------------------------------------------------------
Alert from the browser
---------------------------------------------------------------------------------------------
'C:\Documents and Settings\chalagen\Local Settings\Temporary Internet Files\Content.IE5\I9FGH0RI\Download196[1].csv' could not be found. Check the spelling of the file name, and verify that the file location is correct
If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved or deleted.
---------------------------------------------------------------------------------------------
I have changed the options of Tools > Internet Options> Advanced > Do not save encrypted pages to disk.
Please do let me know the solutions for the above problem.
Waiting for response,
SonaShree