This week's book giveaway is in the
We're giving away four copies of
and have John Sonmez on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
reading a pdf file in a web application
Joined: Apr 13, 2009
May 03, 2009 11:39:41
i saved a
file in my database and want to have an idea about the method that allow me to open the file in a web appliction , how may i give in my
class the information that my file will be opened with the pdfreader?
thanks a lot.
Joined: Jan 01, 2009
May 03, 2009 12:08:51
1) Retrieve data using resultSet getBinaryStream( assuming its BLOB)
2) Write the data to the SerlvetOutputStream
3) Set the response content type to application/pdf
I agree. Here's the link:
subject: reading a pdf file in a web application
Embeding RTF on Web Page
preview of pdf files in browsers.
Passed IBM WebSphere Portal V5.0, Application Development Test 348
Read PDF File Path From Servlet. PDF is right under WebContent
web application + print link
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014