Its the response header: Content-Type: application/pdf;charset=ISO-8859-1
I can't recall the resolution to this issue. I believe a tomcat update fixes this. An issue similar to this was discussed in Bugzilla.
The main issue is your using a JSP. The JSP is calling response.setCharacterset(). But when your jsp calls setContentType() - the previous call to setCharacterset was not cleared.
-Tim Chris Donges wrote:
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 all. I am using tomcat 4.1.29 with jk going through iis 5. Here are the headers: Headers for 'http://www.practical.com.au/web/downloadFile.jsp?vfkey=104' 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]