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

open pdf inside browser

 
vivien siu
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys this is my code. I keep on having a dialog box popped up to ask me whether I want to save or open it.

I want the pdf file to open inside my current browser instead. How can I do this?
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't a JSP issue--it's a browser issue. You need to have your browser configured correctly to automatically open the PDF file in the same window as the webpage instead of giving you the dialog box. As far as your code is concerned, it's correct.
 
Sandeep Singh Kunwar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Acrobat reader is installed i hope on user machine!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic