| Author |
display output as pdf
|
Jason Mill
Greenhorn
Joined: Jul 29, 2003
Posts: 6
|
|
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.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
I believe this has been covered a few times. Use the search capability and you should find your answer. hth, bear
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Scott Duncan
Ranch Hand
Joined: Nov 01, 2002
Posts: 363
|
|
|
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?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
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 ]
|
 |
 |
|
|
subject: display output as pdf
|
|
|