Creating a Faces JSP file

After you create a dynamic Web project, you can create the Faces JSP files that are the Web pages in your project.
Before you create a Faces JSP file you must create a Dynamic Web Project that is enabled for Faces technology. For more information, refer to Developing Faces (JSF) applications.
Note: When you create a Faces JSP file, a Java™ page code file is automatically created. If you do not want to create a page code file, refer to Setting page code file preferences for Faces JSP files.
To create a Faces JSP file:
  1. Click File > New > Web Page. The New Web Page wizard opens.
  2. Name the JSP file and accept the default folder.
  3. Follow the instructions in the wizard.
  4. Click Finish.
  5. After the Faces JSP file opens in Page Designer, a Palette view opens next to the new JSF enabled JSP page. (If you do not see the palette, choose Window > Show View > Basic > Palette).
Now, you can connect to a data source and add the JSF components that enable your users to create, read, update, and delete data.
Related tasks
Creating an input form connected to a data source
Adding input components to a Faces JSP page
Adding selection lists to a Faces JSP file
Adding hyperlinks to a Faces JSP file
Using navigation rules with Faces JSP pages
Using File Upload components
Managing errors in JavaServer Faces applications

Feedback