Press enter to see results or esc to cancel.

JSF Helloworld Netbeans IDE – JSF Tutorial Part 1

Download the project shown in Youtube here.


This tutorial shows step by step process how to Start with Java Server Faces. JSF Helloworld program with Netbeans IDE.

  1. First install NetBeans IDE in your windows PC. Visit this post to see how to install NetBeans IDE.
  2. After Installation go on to File > New Project.
    Select Category as Java Web and Project as Web Application. Then Click Next.
  3. Enter The Project name, Select Location and Project Folder. Then Click next.
  4. Select Server and Then Click next.
  5. Finally Select the Framework as Java Server Faces and Click Finish.
  6. The project will be created as shown below. It will have default index.xhtml also.
  7. index.xhtml

    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <html xmlns=""
    <title>Facelet Title</title>
    Hello from Facelets
  8. Now to run the Project. Just right Click on Project and Click Run.
  9. index.xhtml after Running the Project
  10. Download the Project here.



Leave a Comment