Follow the steps to create an simple facelet template and client template page using JSF2 framework . 1. Open the netbean IDE tool . 2.Open the new project and choose Java web folder->web application -> enter your project name->select the server(Glassfish server 3.x ->choose the Framework as JAVA SERVER FACES-> choose the configuration and select the Facelet option from list box. -> finish 4.Right click your project and choose Others->java server faces ->facelet template->select any one predefined template shown below -> click finsh 5.Again do the same steps 4 and choose the facelet client template and move to next select existing template from the web-inf folder -> finish. 6.run the web application and can see the output from facelet template. 7.see this attached images may helpful to you.