aspose file tools
The moose likes JSF and the fly likes Icefaces Pdf generation with itext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Icefaces Pdf generation with itext" Watch "Icefaces Pdf generation with itext" New topic

Icefaces Pdf generation with itext

sam sami

Joined: Dec 22, 2010
Posts: 18
I need to generate a pdf and show in a browser window using itextPdf.
I can generate the pdf but it does not show, or render in the browser.
Could you please help.

Joined: Apr 05, 2008
Posts: 1
were you able to find a solution for it? I am having similar problem.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16395

You cannot display a PDF in a browser window using Internet Explorer. There are patent restrictions on that that not only forbid IE from doing that, but Microsoft ended up having to pay the patent holder $US 500,000,000 for ever having done so to begin with. So people running IE must content themselves with having a separate PDF viewer application launched.

JSF is intended to render HTML and PDF's are not HTML. So the PDF creation and display functions in a JSF-based webapp should be done via a servlet rather than a JSF view template.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Icefaces Pdf generation with itext