RE: Serving PDF files on Apache2 + Tomcat4.1

2002-11-18 Thread Hugo Villeneuve
I can share the experience I had with IE5, Tomcat 4.1 and serving dynamic PDF. IE 5 have a problem with the Cache-Control parameter in the HTTP 1.1 header. With Tomcat 4.1, if I just send the pdf on the OutputStream every think is working fine. What is your problem exactly? -Original

Does the servlet-mapping touches the OutputStream ?

2002-11-18 Thread Hugo Villeneuve
I use tomcat 4.1 to serve Dynamic PDF. I have a servlet that send's PDF to the browser. When I call my servlet directly (see URL below) the PDF gets render on the client correctly. When I go through a servlet-mapping I get a Adobe alert “File does not begin with ‘%PDF-‘”. The file gets

pathInfo is not encoded.

2002-11-18 Thread Hugo Villeneuve
Hi, I am switching between Tomcat 3.3 and Tomcat 4.1. Now my servlet that was using the pathInfo parameter does not work when I have special char in the path (like é). Tomcat 3.3 : http://server/context/my_servletHandler/public/Qualité/myDoc.txt OK, path info is decoded on the server Tomcat

RE: Serving PDF files on Apache2 + Tomcat4.1

2002-11-18 Thread Hugo Villeneuve
Sorry, I have found this is a pathInfo issue, look I at my next post :pathInfo is not enconded. -Original Message- From: Hugo Villeneuve [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 10:05 AM To: Tomcat Users List Subject: RE: Serving PDF files on Apache2 + Tomcat4.1 I can

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Hugo Villeneuve
if it is not the recomended behavior). At a guess, your servlet can't handle Adobe's partial-request statements, and is getting confused when Adobe issues multiple request for the same document. Hugo Villeneuve [EMAIL PROTECTED] wrote in message news:NFBBKMKLCMGJANFCBENAOEKLCEAA.hvilleneuve;b-wax.com

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Hugo Villeneuve
the http version in tomcat. -Original Message- From: Hugo Villeneuve [mailto:hvilleneuve;b-wax.com] Sent: Friday, November 15, 2002 3:39 PM To: Tomcat Users List Subject: RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1 I don't know much about partial-request and the HTTP 1.1

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Hugo Villeneuve
exactly are you using to generate the pdf-- home-grown code or Adobe Distiller? If your own code, are you sure you're creating the file itself properly? Hugo Villeneuve wrote: I am all confused now. All the test I did make it looks like a Adobe problem but : 1- When I call static PDF from

RE: Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-15 Thread Hugo Villeneuve
. PS: there is ten time more action/response in this apache mailing list then any Oracle Forums (when forum is working). -Original Message- From: Hugo Villeneuve [mailto:hvilleneuve;b-wax.com] Sent: Friday, November 15, 2002 11:57 AM To: Tomcat Users List Subject: RE: Serving PDF files gets

Serving PDF files gets different results from Tomcat 3.3 to 4.1

2002-11-14 Thread Hugo Villeneuve
is there. What is the difference between Tomcat 3.2 HTTP Header and 4.1 Header ? Any information about that ? My System : - Win NT - Struts 1.0 - Tomcat 3.2 --- 4.1 thank you Hugo Villeneuve www.b-wax.com