Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic