File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Must reload PDF servlet in IE 5.5??

 
Travis Gibson
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy fellow ranchers,
I'm trying to pass a PDF(ByteArrayOutputStream) document in a servlet. All is working well, except IE 5.5 won't display unless I press the refresh button. I've tried flushing buffers, and closing response. Can anyone help?

------------------
Regards,
Travis M. Gibson, SCJP
Java Developer
www.travismgibson.com
travis@travismgibson.com
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you set the content length and content types?
Bill

------------------
author of:
 
Travis Gibson
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
William,
Thanks alot setting the Content Length solved my problem. I love JavaRanch I had been trying to figure this out for almost two hours. But can you tell me why the setContentLength() solved this problem.

------------------
Regards,
Travis M. Gibson, SCJP
Java Developer
www.travismgibson.com
travis@travismgibson.com
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic