Hi,
I don't subscribe to the list so direct reply to taweili@(protected)
would be greatly appreciated.
We recently detect a problem with sending generated PDF to Acrobat
6.0.1's IE plug-in. In Tomcat, if the ContentType is set, a charset is
automatically appended to it. This causes problem with Acrobat 6.0.1's
IE plug-in. So far, we have summarize the following conditions:
1. ContentType: application/pdf
This works fine.
2. ContentType: application/pdf;
This shows blank pages
3. ContentType: application/pdf;charset=UTF-8
This shows error message of corrupted PDF file. However, if we download
it, it can be open correctly with Arcobat 6.0.1. Only plug-in
complaining the problem.
I have tried to contact Adobe about this but, of course, get no
response. I think this is more of a problem of Adobe's plug-in
implementation rather then Tomcat's problem. I have check the source
codes, there is no way to disable appending charset if setContentType
is called.
Any suggestion is appreciated.
David Li
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)