Java Reference
In-Depth Information
In the next page of the new project wizard, we can select what frameworks our web
application will use.
Unsurprisingly, for JSF applications, we need to select the JavaServer Faces framework.
After clicking on Finish , the wizard generates a skeleton JSF project for us.
This project consists of a single facelet file called index.xhtml and a web.xml
configuration file.
The web.xml file is the standard, optional configuration file needed for Java web
applications. This file became optional in Version 3.0 of the Servlet API, which
was introduced in Java EE 6. In many cases, web.xml is not needed anymore, since
most of the configuration options can now be specified via annotations. For JSF
applications, however, it is a good idea to add one, since it allows us to specify
the JSF project stage.
Search WWH ::

Custom Search