jefftoaster
Programmer
I'm trying to send adobe pdf files to my client's browsers by transferring the pdf file using a servlet.
In the servlet, I basically set the content-type to "application/pdf", and the content-disposition to "inline; filename=test.pdf", then I set the content-length to the length of the pdf file, and write the pdf file to the response outputstream. Really straightforward, and it works great - using http.
As soon as I switch to https (this is semi-sensitive data), Internet Explorer starts to complain that there are secure and nonsecure items, and would I like to view the nonsecure items. It doesn't matter whether I select yes or no, the report still comes up just fine. BUT - I can't have my clients seeing that junk - I'd get 500 calls a day!! And they all use IE.
I've tried changing and eliminating the content-type and content-disposition, but the message remains.
Is there a fix or workaround that anyone knows of which allows me to get around this dumb MS message?
Thanks,
Jeff Owens
In the servlet, I basically set the content-type to "application/pdf", and the content-disposition to "inline; filename=test.pdf", then I set the content-length to the length of the pdf file, and write the pdf file to the response outputstream. Really straightforward, and it works great - using http.
As soon as I switch to https (this is semi-sensitive data), Internet Explorer starts to complain that there are secure and nonsecure items, and would I like to view the nonsecure items. It doesn't matter whether I select yes or no, the report still comes up just fine. BUT - I can't have my clients seeing that junk - I'd get 500 calls a day!! And they all use IE.
I've tried changing and eliminating the content-type and content-disposition, but the message remains.
Is there a fix or workaround that anyone knows of which allows me to get around this dumb MS message?
Thanks,
Jeff Owens