This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a string of data which is the contents of a pdf, ( as I cannot read the pdf file directly from the web server). How do I output the data so that the browser displays the pdf as pdf and not as the contents of the pdf. Any help appreciated.
So essentially your question is how to generate a pdf file from a String of data and display? In the past I have used JClass to generate pdf files. Also, I believe you could use XSLT to transform data into a PDF.
No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
I gather from the wording in his question that the data is already in PDF format. He just needs to set the content-type and disposition accordingly. I don't remember the exact settings off the top of my head. Hence, the search suggestion. hth, bear [ August 05, 2003: Message edited by: Bear Bibeault ]