-
8
pages
-
English
-
Documents
Description
Java Server Faces (JSF) Tutorial Background: The JavaServer Faces framework is the standard Java API for building user interface components in web applications. You can think of the JSF framework as a toolbox full of ready-to-use components that you can quickly and easily reuse in your web application. These components can be simple, like text input fields that get and store user data, to more complex components, like a formatted date field with a pop-up calendar. You embed the components into JSP pages and use the framework to handle navigation between different JSP pages. Creating the Project: 1. Choose File > New Project to open the New Project wizard. Under Categories select Web; under Projects select Web Application. Click Next. 2. Name the project jBirthInfo, specify a location for the project on your computer, then click Next. 3. In the third step of the wizard, Server and Settings, specify the server and Java version to be used with the project (or accept default settings). Click Next. 4. In the Frameworks step, select JavaServer Faces and click Finish The IDE creates a project template for the entire application, and opens an empty JSP page (welcomeJSF.jsp) in the Source Editor. This file is the default page in the web.xml deployment descriptor. Notice that the JSF libraries, such as jsf-impl.jar, are included in GlassFish and are added to the project's classpath. Expand Configuration Files and notice that the IDE has created a ...
-
Publié par
-
Langue
English