Re: PDF problem on IE from JSP

2008-01-18 Thread Jonadan
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:

Re: PDF problem on IE from JSP

2008-01-18 Thread Jonadan
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

Re: PDF problem on IE from JSP

2008-01-18 Thread Frank W. Zammetti
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

Re: PDF problem on IE from JSP

2008-01-18 Thread Pid
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

Re: PDF problem on IE from JSP

2008-01-17 Thread Jonadan
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

Re: PDF problem on IE from JSP

2008-01-17 Thread MrKimi
; 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. ---

Re: PDF problem on IE from JSP

2008-01-17 Thread Jonadan
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

Re: PDF problem on IE from JSP

2008-01-17 Thread MrKimi
> > 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

Re: PDF problem on IE from JSP

2008-01-17 Thread Jonadan
: 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

Re: PDF problem on IE from JSP

2008-01-16 Thread MrKimi
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

RE: PDF problem on IE from JSP

2008-01-16 Thread Jonadan
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

RE: PDF problem on IE from JSP

2008-01-16 Thread Jonadan
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

RE: PDF problem on IE from JSP

2008-01-16 Thread Pitre, Russell
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

Re: PDF problem on IE from JSP

2008-01-16 Thread Pid
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