This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes include pdf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "include pdf" Watch "include pdf" New topic

include pdf

Karina Jensen

Joined: Jun 04, 2001
Posts: 6
I have a web-application where it is possible to upload PDF-files, and you can select if the file is to open in it's own window, or is to be included in the application.
-when I include the pdf-file it only show "funny-text", but when I open it in it's own window it works fine....
-so my question.... is it possible to include a pdf-file?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12982
Since a PDF file has a binary structure that requires a PDF reader to create an understandable display, you have to open it in its own reader.
It is sorta covered in the JavaRanch Style Guide.
subject: include pdf
It's not a secret anymore!