This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 12759
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: include pdf
Similar Threads
Opening Multiple Windows from a Single JSF CommandButton click
switching between Swing Classes
File Extenssion not showing in Mozilla
Calling a pdf file from java swing
Open/Save attachments