File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes download file without open/save popup message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "download file without open/save popup message" Watch "download file without open/save popup message" New topic
Author

download file without open/save popup message

Omar Mohaidat
Ranch Hand

Joined: Jan 16, 2008
Posts: 34
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

Joined: Jul 06, 2005
Posts: 1018
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
 
subject: download file without open/save popup message