I had the same experience. That is, using the 'Pragma' header for
non-HTML content sometimes causes problems with IE.
On the other hand if you don't use it for HTML contents,
IE (at least v5.0) will cache it.

regards,
Gyula


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Martin van
Niekerk
Sent: Monday, November 18, 2002 10:09 AM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Re: Regarding servlet with iText in IE


Don't think this would be of much help in your case, as I've checked for it
in your example code. I thought I'd just mention it as a warning to others.
I try to disable the browser caching my pdf, using the following code:

    response.setHeader("Cache-Control","no-store,post-check=0,pre-check=0");
    response.setHeader("Pragma","no-cache");
    response.setDateHeader("Expires", 0);

I also get a blank screen. As soon as I remove this piece of code, my pdf is
displayed in the browser. I'm not sure whether I'm missing anything? I
encounter this behaviour in both IE 5 & 6.

Regards
Martin




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions




-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to