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.
posted 5 years ago
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.