Creating a New Application with JSF Support

See Also

You can create a new JavaServer Faces application using the New Web Application wizard. JSF support is determined based on the Java EE version you specify in the wizard.

Java EE Version JSF Version
6 2.0
5 1.2

When you create a new web application with JSF support, an empty project template is generated that contains various JSF-specific artifacts. JSF 2.0 support is defined by the following:

For JSF 1.2, support constitutes the following:

To create a new web application with JSF support:

  1. Choose File > New Project (Ctrl-Shift-N).
  2. From the Java Web category, select Web Application.
  3. Continue with the wizard until you reach the Frameworks panel. Select JavaServer Faces.

    After selecting JavaServer Faces, various configuration options become available to you. You can determine how your project has access to JSF libraries. Click the Configuration tab to specify how the Faces servlet will be registered in the project's deployment descriptor, or change the project's default page language.
  4. Click Finish. The new project is generated and opens in the IDE.

After you create a web application with JSF support, you can begin using JSF-specific wizards for your project.

See Also
About JavaServer Faces Framework Support
Adding JavaServer Faces Framework Support to an Existing Application
About Web Application Frameworks

Legal Notices