If you've created a web application and later decide that you wish to add JSF support to it, NetBeans provides the facility to easily add JSF support together with support for popular JSF component libraries.
In this recipe, we'll show how to add JSF support to a basic web application and how to add support for the PrimeFaces component library.
To complete this recipe, we will need to have a Java EE web application that has not previously been configured with JSF support. That is to say, we've not referenced any JSF support in the application's
web.xml, and the default view technology for the application is something other than Facelets.
If you are unsure on how to create such an application, follow ...