Yep. This comes up every so often on the list.
Whenever IE downloads content we change the Pragma response header to be public instead of no-cache:
String userAgent = request.getHeader("user-agent");
if (response.containsHeader("Pragma")
&& userAgent!=null
&& userAgent.toUpperCase().indexOf("MSIE")>-1) {
response.setHeader("Pragma", "public");
}
HTH,
Jon
Edouard Dalla-Costa wrote:
Hi,
I am using a servlet that open an excel file from an output stream which is working very well. However, I want to use it under SSL connection which looks to be quite easy. I made the change in tomcat and it is working very well. However when I try to open my excel file using Internet Explorer under SSL connection, I am having a strange error:
impossible to open: https://myURL
I am using exactley the same URL with non SSL connection and it is working fine. But the funniest thing is that it is really well working using FireFox or Opera explorer. It makes me crazy. So if somebody as already see encounter this problem or know what to do. PLEASE HELP ME
Thank you very Much
regards Edouard
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
