This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

open pdf inside browser  RSS feed

 
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
Boost this thread!