• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PDF display problem in IE

 
Meng Tan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I know that there is a problem with PDF display in IE. That is, pdf which is generated in Servlet, when stream back to client broweser, cannot be displayed by the acrobat plug-in.
May I know whether there is already a solution for this problem?
Can anyone advise?
I m using IE6.
Thanks.
 
bill williams
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this link
http://mailman.real-time.com/pipermail/cocoon-users/2001-May/014878.html
 
bill williams
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this workaround is better:
http://mailman.real-time.com/pipermail/cocoon-users/2001-May/014879.html
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hei Meng, i tested PDF thru servlets & JSP and worked well. But i had Adobe Acrobat Reader installed already....
The default plug-in may have problem in IE!
 
Meng Tan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I tried again but this time I put in the Content-Length header and it works.
The previous time I didnt set the content length thinking that Tomcat will do that for me because I use a very big buffer.
I have a question here:
Will Tomcat automatically set the Content Length when the response size is less then the buffer size?
Thanks.
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try upgrading your Adobe Acrobat to 5.0
I had that same issue and that fixed it.
Dale
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic