File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes displaying in browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "displaying in browser" Watch "displaying in browser" New topic

displaying in browser

vamsi bezawada

Joined: Dec 28, 2000
Posts: 16
Hi everybody,
How can i open a pdf file within the browser rather than opening in separate acrobat window. When i click the link it call the servlet and then we redirect it to pdf File. But sometimes(means in some systems) it opens the PDF file with in the browser frame and sometimes in acrobat window.
Can anybody please tell me what should i do to open in browser frame.
Thank you,
Kris Read

Joined: May 28, 2002
Posts: 6
Not a servlet problem...
Theres nothing you can do about this. It has to do with how the client's computer is set up to handle the given file type. It may be related to preferences in their browser/acrobat install or to the versions they are using.
I agree. Here's the link:
subject: displaying in browser
It's not a secret anymore!