quot;Pragma", "cache"); // to make IE work!
response.setDateHeader("Expires", 1);
Note that browser will cache for the first time. But will abandon next time
for fresh copy! At least current my testing worked.
Regards.
--
View this message in context:
http:
t:
http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14957804.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTE
Jonadan wrote:
> BTW, is this problem is specific to Tomcat ONLY? Or also occurs in other
> servers such as JBoss, and so on?
FYI, a while ago I wrote a page on the Struts wiki dealing with serving
PDFs... while it was meant for Struts, the majority of the information
is in fact completely gene
Jonadan wrote:
BTW, is this problem is specific to Tomcat ONLY? Or also occurs in other
servers such as JBoss, and so on?
Are you delivering your PDF over an HTTPS connection?
It's not a Tomcat problem, it's probably an IE problem.
Some versions of IE have issues with responses that contain c
BTW, is this problem is specific to Tomcat ONLY? Or also occurs in other
servers such as JBoss, and so on?
--
View this message in context:
http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14947983.html
Sent from the Tomcat - User mailing list archive at Nabble.com
; this may deliver the same documents when diiferent documents are
> generated.
>
--
View this message in context:
http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14938025.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---
ave to use a servlet taking JSP as parameters and use
"RequestDispatcher". It works properly now.
Regards.
MrKimi wrote:
>
> The critical part of my solution (which I got from someone else's post) is
> the setting of the cache stuff.
>
--
View th
>
> Regards.
>
>
--
View this message in context:
http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14935934.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new
:
http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14935186.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
out.write("".getBytes());
out.close();
--
View this message in context:
http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14905302.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To st
Or IE does not like content or does not expect as valid connection.
--
View this message in context:
http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14899461.html
Sent from the Tomcat - User mailing list archive at Nabble.com
is
unavailable or cannot be found. Please try again later.
==
I suspect that Tomcat is not handling partial content request properly. IE
tends
to read PDF page by page as we read pages.
Regards.
--
View this message
let output stream.
ServletOutputStream out = response.getOutputStream();
baos.writeTo(out);
out.flush();
-Original Message-
From: Jonadan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 16, 2008 7:46 AM
To: users@tomcat.apache.org
Subject: PDF problem on IE from JSP
Hi,
I am gene
Jonadan wrote:
Hi,
I am generating PDF documents from JSP directly to output stream. However
when I try it from IE, it does not work properly. Sometime nothing happens.
Sometimes, show data corruption error. Sometimes connection error, etc.
I suspect it may be something to do with partial conte
14 matches
Mail list logo