File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes pdf display in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "pdf display in JSF" Watch "pdf display in JSF" New topic

pdf display in JSF

Richard Dennis

Joined: Nov 05, 2012
Posts: 9
i have uploaded fies to a server, and what i want to do is now some how display these on the xhtml page, but i only want to display the pdf files

currently i have

<p:media value="/resources/pdf/F86.pdf" width="125%" height="100%">

but obviously this will only display the file in the value section, but what i want to try and do is create a way where it go into the directory and select a pdf file in that folder, how would i do this, what are the features i need to research in order to complete this task, i am new so sorry if this is a simple question
I agree. Here's the link:
subject: pdf display in JSF
It's not a secret anymore!