This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons 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: 12761
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.
subject: include pdf
Similar Threads
Opening Multiple Windows from a Single JSF CommandButton click
Calling a pdf file from java swing
switching between Swing Classes
File Extenssion not showing in Mozilla
Open/Save attachments