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.
An IDE is no substitute for an Intelligent Developer.