|
The NetBeans 6.0 IDE has the buil in support for the JSF and it is very easy to create the JSF applications with NetBeans. The following are the steps to create the JSF enabled application using NetBeans 6.0.
- Goto File menu and select New Project.
- It will open a pop up page that has Categories and Project, select folder Web and project web application:
- It will ask for the location and project name. Enter the project name and the location for the project to create and click next.
- In next step it will ask to select frame work with options Java Server Faces (JSF) and Struts, select JSF and click finish..
- The Project is displayed with the Projects tab.
Please click here to see the MOVIE.
Lets have a look on each files created in the process with the changes we need to make for the JSF enabled applications. We see one more xml file along with the other web application has been created i.e. faces-config.xml. This file is used to map the beans and resources for the JSF components. With coming examples we will see the use of each file.
|