HTML and CSS Reference
In-Depth Information
Figure 1-6. The firstApplication Maven structure
Configuration Files
There are two configuration files for the firstApplication , which are the web.xml and faces-config.xml . The web.xml
file is the standard web module deployment descriptor in which the Faces Servlet is defined. The main purpose of
the Faces Servlet is to intercept the requests to the JSF pages in order to prepare the JSF context before accessing the
requested JSF page. Listing 1-1 shows the web.xml file of the firstApplication .
Listing 1-1. The web.xml of the firstApplication
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns=" "
xmlns:xsi=" "
xsi:schemaLocation=" "
Search WWH ::

Custom Search