Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Icefaces Pdf generation with itext

 
sam sami
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
were you able to find a solution for it? I am having similar problem.
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic