O'Reilly logo

NetBeans IDE 8 Cookbook by Rhawi Dantas, David Salter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding JSF support to a web application

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.

Getting ready

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required