tell me more icon In the IDE

When you complete the steps for creating a JSF page, the Application Navigator should look something like this:

Application Navigator

In the project, the folders and files that conform to the Java EE Web module directory structure are:

  • Web Content folder: Contains files, including .html and .jsp, along with other files that must be visible to the client browser (such as stylesheet files and images) for your application.
  • /WEB-INF/ folder: Contains the required Web Application Deployment Descriptor ( web.xml) and the JSF configuration file ( faces-config.xml).
  • web.xml file: The web application deployment descriptor for your application. This is an XML file describing the components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you.
  • faces-config.xml file: Where you register the JSF application's configuration resources, such as validators, converters, managed beans, and navigation rules.

By default JDeveloper displays the .jsp file in the JSP/HTML visual editor, where you can then edit the page using JSF HTML and JSF Core components from the JSF page in the Component Palette.

Visual editor, Component Palette

The tabs at the top of the editor window are the document tabs. Selecting a document tab gives that file focus, bringing it to the foreground of the window in the current editor. The tabs at the bottom of the editor window for a given file are the editor tabs. Selecting an editor tab opens the file in that editor or viewer. For example, to switch from the visual editor to the source editor for a JSP file, select the Source tab.

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,