wood burning stoves 2.0*
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
Author

Icefaces Pdf generation with itext

sam sami
Greenhorn

Joined: Dec 22, 2010
Posts: 18
Hi,
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.
Thanks
seleshmaster
Greenhorn

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: 16095
    
  21

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.
 
GeeCON Prague 2014
 
subject: Icefaces Pdf generation with itext