O'Reilly logo

Advanced Java® EE Development with WildFly® by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a web descriptor

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:

Creating a web descriptor

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:

Creating a web descriptor

Select the WEB-INF folder and specify Name as web.xml ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required