Configuring web applications with the web deployment descriptor editor
You can configure the deployment descriptor for web projects that have Web 2.5 or Web 3.0 modules in a web deployment descriptor editor. You can also use the editor to a generate deployment descriptor stub for a Web 3.0 module. For Web 2.4 and earlier modules, use a source XML editor.
About this task
When you create a Web 2.2, 2.3, 2.4, or 2.5 web project, the New web Project wizard places a web.xml file in the project WEB-INF directory. This file specifies deployment information for modules that are created in the web development environment.
The editor that you use to specify deployment information in the web.xml file depends on the specification version of the web module.