tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Donges" <>
Subject Problem with pdf in tomcat 4.1.29
Date Tue, 10 Jan 2006 23:17:19 GMT

I have a jsp page that grabs a pdf from a blob in a database and sends
it to the browser inline.  It works fine for firefox and most ie users
but for some it displays it in a separate window or doesn't display at

I am using tomcat 4.1.29 with jk going through iis 5.

Here are the headers:

Headers for ''

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 10 Jan 2006 23:33:51 GMT
X-Powered-By: ASP.NET
Set-Cookie: JSESSIONID=5DA445035BFEFFB189E828434381EB24; Path=/web
Pragma: public
Cache-Control: max-age=0
Content-Disposition: inline;filename="See Map.pdf"
Accept-Ranges: none
Content-Type: application/pdf;charset=ISO-8859-1
Content-Length: 543974

Does anyone have any idea what I am doing wrong?  Is there something
wrong with the headers?  Would upgrading tomcat have a good chance of
fixing the problem?  I can send the jsp source if that would help?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message