Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

download file without open/save popup message

 
Omar Mohaidat
Ranch Hand
Posts: 34
  • 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: 1784
10
  • 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.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic