RE: [XSL-FO] Trouble displaying PDF from JSP
- Do you have linebreaks or blanks in your pdf ?
From: XSL-FO@yahoogroups.com [mailto:XSL-FO@yahoogroups.com] On Behalf Of
Sent: Montag, 8. August 2005 12:13
Subject: RE: [XSL-FO] Trouble displaying PDF from JSP
>What browser are you using?IExplorer and FireFox
>What does "binary rubbish" actually mean?The sort of information you get if you open a PDF in textPad.
>Is it shown in a browserwindow, in an acrobat reader window embedded in the browser, or
It appears that these documents are not loading the acrobat toolbar into
Also we are streaming the PDF through a ByteArray, so I'm guessing the
extension is in effect hidden.
>Did you set the content-length header correctly? Does the URLfor this page end in .PDF?
The system we have implemented has been working for the last two years,
the only thing we have changes is that we are now embedding fonts into
the PDF via the definitions in the userconfig.xml
Due to delivery constraints we've opted from loading the document via a
served. If there is anything else you can suggest I would be most
From: XSL-FO@yahoogroups.com [mailto:XSL-FO@yahoogroups.com] On
Behalf Of J.Pietschmann
Sent: Friday, August 05, 2005 11:33 PM
Subject: Re: [XSL-FO] Trouble displaying PDF from JSP
Gaywood, Mark wrote:
> I'm having difficulty getting my fop generate pdf to displayfrom my
> jsp. Previously this code below worked fine, but all I get nowis binary
> rubbish.What browser are you using?
What does "binary rubbish" actually mean? Is it shown in a
window, in an acrobat reader window embedded in the browser, or
> response.setHeader("Pragma", "private");
> response.setHeader("Cache-Control", "private");
> response.getOutputStream().write(form.getPdf());Did you set the content-length header correctly? Does the URL
for this page end in .pdf?
YAHOO! GROUPS LINKS
* Visit your group "XSL-FO
<http://groups.yahoo.com/group/XSL-FO> " on the web.
* To unsubscribe from this group, send an email to:
* Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service <http://docs.yahoo.com/info/terms/> .
This e-mail is confidential and intended solely for the use of the
individual(s) to whom it is addressed. If you are not the intended
recipient, be advised that you have received this e-mail in error and that
any use, dissemination, forwarding, printing, copying of , or any action
taken in reliance upon, it is strictly prohibited and may be illegal.
[Non-text portions of this message have been removed]
Yahoo! Groups Links