A web descriptor (
web.xml) is not a requirement in Java EE 7, but for a JSF application, we need to configure the Facelets servlet. To create a web descriptor, select File | New | Other.
In New, select JBoss Tools Web | Web Descriptor and click on Next, as shown in the following screenshot:
In the Web Descriptor File wizard for Folder, click on Browse to select a folder. In Folder Selection, select the WEB-INF folder and click on OK, as shown in the following screenshot:
Select the WEB-INF folder and specify Name as