This is a typical skeleton structure for a Web application like JSF. Now, let's go through thedifferent parts of the skeleton structure.
folder or file explanation
jsfksProject folder with project name/antThis folder holds Ant build scripts including a default
file./JavaSourceThis folder is where you place your own Java source classes and properties files./WebContentThis folder holds the actual Web application files used by the applicationserver or servlet container./WEB-INFThis folder inside the
folder holds files that are used as partof the runtime Web application but are hidden from the browser./classesThis folder inside the
folder holds compiled Java classesalong with properties files copied from
./libThis folder inside the
folder holds libraries required by your application, for example, third party Jar files.jsf-impl.jar jsf-api.jar These two files inside the
folder are library files included with theJavaServer Faces v1.1 Reference Implementation. Every JSF applicationrequires these files.web.xmlThis file inside the
folder is the Web Application DeploymentDescriptor for your application. This is an XML file describing theservlets and other components that make up your application.faces-config.xmlThis file inside the
folder is the JavaServer Facesconfiguration file. This file lists bean resources and navigation rules. Wewill cover this file in more detail later.pagesThis folder inside the
folder holds JSP and HTML presentation pages.
We have already provided you with two complete project files in the theproject,
, so that you don't have to spend time creating these. (Thistutorial is not about creating these kinds of files.)
We will complete the following steps:1.Create JSP pages2.Define a navigation rule3.Create a managed bean4.Create a properties file