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

download file without open/save popup message

 
Omar Mohaidat
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a JSP file contains link to download pdf file, when i click on this link a popup message appear to open or save this pdf file. Is there a way to view the file without this popup message?; because in my case i need to open the file and don't need to save this file at all.

Thanks
 
Stefan Evans
Bartender
Posts: 1640
9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is pretty much completely dependent on the client browser and how it is configured.
There isn't much code-wise you can do to influence this.

Setting the right content type header (application/pdf) could possibly help, but that's about it.


 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic