aspose file tools*
The moose likes Servlets and the fly likes Content-Disposition in IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Content-Disposition in IE" Watch "Content-Disposition in IE" New topic
Author

Content-Disposition in IE

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: May 05, 2000
Posts: 13974
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.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Content-Disposition in IE