This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 17018

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.
Have you checked out Aspose?
subject: Icefaces Pdf generation with itext
jQuery in Action, 3rd edition