To follow along with the example, enter values or select options as shown in the instructions throughout the cue cards. Then you will be able to follow the steps in the cue cards exactly as written.
The JSF pages you create for your application using JavaServer Faces can be JSP pages (which have file extension
.jsp) or JSP documents (which have file extension
You can create JSF pages with the Create JSF Page dialog, opening it from:
To open the Create JSF Page dialog, in the Application Navigator, you will right-click the project and choose New . Then in the New Gallery, expand the Web Tier category and select JSF, and in the Items list, select JSF Page.
In the Create JSF Page dialog, you can specify whether and how you want to bind the components on the page to a backing bean. You can also optionally define some aspects of the look and feel for the new page. In the example, you will not use a page template, a quick start layout, or choose to let JDeveloper automatically use a backing bean for the page.
When you create a new JSF page as a JSP page (with file extension
.jsp), JDeveloper automatically creates a starter page structure with a JSP
page directive, and two
taglib directives for the JSF Core and HTML tag libraries. The other elements included in a starter file are elements for laying out a page, specifically everything else within
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@ page contentType="text/html;charset=windows-1252"%> <%@ taglib uri="#" prefix="h"%> <%@ taglib uri="#" prefix="f"%> <f:view> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/> <title>Register</title> </head> <body> <h:form></h:form> </body> </html>> </f:view>
Copyright © 1997, 2009, Oracle. All rights reserved.false ,,,,,,,,,,,,,,,