[ajug-members] Download files with SSL
Jeff Mitchell
jeffmitchell123 at gmail.com
Wed Oct 11 15:30:35 EDT 2006
We have a Tomcat web site using SSL. There are links to some static PDF
pages on our server. The trouble is when you click on the link and IE tries
to download the PDF to it's cache directory it says, Internet Explorer was
not able to open this Internet site. What do I have to change to Tomcat or
my app to get the PDF's to download. Changing the settings on the client is
not an option.
I know this is an IE bug and the solution on the Microsoft website says:
Web sites that want to allow this type of operation should remove the
no-cache header or headers.
I have tried adding this to my main jsp as a test and it did not work.
response.setHeader("Cache-Control","max-age=0");
response.setHeader("Pragma","public");
I really can't use this anyway because I need no-cache active so my jsp
pages refreash.
So the real question is: How do I get a pdf to cache to the client from the
server with a Tomcat server setting of no-cache.
Thanks!!!
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20061011/94916ccf/attachment.html
More information about the ajug-members
mailing list