The showcase of Primefaces components you can find here and documentation is here
Frontend needs to be saved as a XHTML file. This file can contain JSF, JSTL, JSP, HTML, CSS, jQuery, javaScript and its framework and more front-end technologies.
Please, do not mix JSF and JSP technologies together....