You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Ing. Atilio Ranzuglia Buteler" <ar...@yahoo.com> on 2002/09/26 15:10:48 UTC

Problem with FOP and JServ

hi, everybody

i'm having a very strange problem. i've developed a servlet
that returns a pdf document.

it works perfectly with tomcat and any browser that (can)
supports pdf documents.

the problem is when i deploy it to an apache/jserv server,
there only works if the browser is
different from ie. but the document is correct. i try with
http explorer to see
what is really coming back and the document is fine.

the version of sdk is the same in tomcat and jserv (both
1.4.0), also with fop and the others libraries.

the only difference is on the headers, here they are:

HTTP/1.1 200 OK     XXXXX
Date: ...
Server: Apache/1.3.12 (Win32) ApacheJServ/1.1 mod_ssl/2.6.4
...
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Content-Length: 25179     XXXXX
Connection: close
Content-Type: application/pdf

HTTP/1.0 200 OK     XXXXX
Date: ...
Servlet-Engine: Tomcat Web Server/3.1 (JSP 1.1; Servlet
2.2; Java 1.4.0_01;...)
Cache-Control: no-cache
Content-Length: 25176     XXXXX
Date: Mon, 23 Sep 02002 14:48:22 GMT
Pragma: no-cache
Status: 200     XXXXX
Expires: Thu, 01 Jan 01970 00:00:00 GMT
Content-Language: en     XXXXX
Content-Type: application/pdf

the differences are the ones with XXXXX. i think that maybe
the status line can be the problem.

if someone of you can help me, i would appreciate too much

thanks, atilio


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com