wood burning stoves
The moose likes JSP and the fly likes open pdf inside browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "open pdf inside browser" Watch "open pdf inside browser" New topic

open pdf inside browser

vivien siu
Ranch Hand

Joined: Nov 10, 2005
Posts: 143
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?

I'm not available, my BF's name is WORK.
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
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

Joined: Feb 27, 2006
Posts: 52
Acrobat reader is installed i hope on user machine!!

OfCourse Learner...<br />SCJP 5, SCWCD1.4<br />Blogs: <a href="http://sandeepkunwar.blogspot.com" target="_blank" rel="nofollow">http://sandeepkunwar.blogspot.com</a>
I agree. Here's the link: http://aspose.com/file-tools
subject: open pdf inside browser
It's not a secret anymore!