• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Content-Disposition in IE

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to stream a pdf file and then show in the browser . res.setHeader("Content-Disposition", "inline;filename=temp.pdf;");
This works with netscape but in IE it shows blank page after starting a Acrobat process.
But if i use
res.setHeader("Content-Disposition", "attachment;filename=temp.pdf;"); this works with IE and netscape both . I am not able to figureout what is the problem . Anyone knows solution for this problem ? Please let me know .
Thanks in advance
Amit Kumar
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This doesn't belong in this forum. This is the forum to talk about JAVARANCH not Java. I am moving this to the servlet forum. You can do a serach in that forum because I had exactly this same problem back in August.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic