This error ususally happens when one page in a frameset fails to load (see http://support.microsoft.com/default.aspx?scid=kb;en-us;184960). In your case, I assume you don't have frames, so maybe it is just a case where the PDF generation fails part way through and thus IE gives you that message...

Chris Parker wrote:

Greetings all,

First off, I know this is a blatant cross-post (and I apologize), but I'm
not getting any action in the Tomcat User's List, and since this
specifically regards PDF content, I'm hoping someone has solved this
problem.

I have a servlet that dynamically generates PDF content using iText, and
serves that content out to a user's browser.  However, in order to tell the
user's browser to expect PDF content, I first have to set the content type.
Assuming the servlet is responding via SSL, when I call this code:

response.setContentType("application/pdf");

I get this error:

"This page contains both secure and nonsecure items."

FWIW, I whipped up a quick servlet that contains ONLY that one line of code,
and I got the error message.  So it's certainly not anything in my code.

Any thoughts?

<=======================>
Chris Parker
Programmer/Analyst
Health Care Services Division
California Youth Authority




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to