Creating Faces JSP-enabled web projects (JSF 1.x)

Web projects hold all of the web resources that you create, maintain, and use as you develop your facelet-enabled web application using Facelet technology. The web project is the environment where you perform activities such as link-checking, building, testing, and publishing.

Procedure

To create facelet-enabled web application:

  1. Open the J2EE or Web perspective.
  2. In the Enterprise Explorer view, right-click and select New > Web Project.
  3. In the Name field, enter a name for your new web project.
  4. From the list of project templates, select the JavaServer Faces project template.
  5. In the Programming Model section, select Java EE programming model.
    Tip: The Programming Model section is displayed only if there is more than one programming model available for use with the selected project template. Click Next.
  6. Click Change Features to open the Project Facets wizard.
  7. Select project facet JavaServer Faces version 1.x for the project. The project configuration automatically selects the facets required by your Faces project.
    Note: If you want to use the IBM® JSF Widget Library (JWL) extended tags, select JavaServer Faces IBM Enhanced Project. For more information on Faces Facets, refer to JSF facets. Click OK.
  8. Click Finish.

What to do next

Several views allow you to easily implement JavaServer Faces technology in your web application: the Page Data view (shows the defined data sources and allows you to define new data sources), the Palette view, which contains drawers such as the Enhanced Faces Components drawer and the Standard Faces Components drawer. The Palette view helps you easily add user interface (UI) components to your page.

Feedback