• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

PDF display problem in IE

 
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.
 
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
 
Ranch Hand
Posts: 2376
MySQL Database Spring 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.
 
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
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic