In my application, I want show a printable PDF acrobat file with in the browser or outside the browser other than saving. In Firefox by default it will ask for save or open, I don’t need that dialogue. I want to show that file preferably outside the browser. Can you please suggest me.
Thanks,
Vara Kumar.PJD
You can suggest to the browser that it should show the PDF in a window rather than offering to download it via the
Content-Dispositionheader:The “inline” value suggests that the content be rendered inline (as opposed to the “attachment” value suggesting the browser offer to download it).
Once you’ve made the suggestion to the browser, the browser may or may not accept your suggestion, depending on its implementation and possibly its user preferences.