Generating web deployment descriptors for web 3.0 projects

Web 3.0 web projects do not require a web.xml file since deployment information is managed by annotations. If a web deployment descriptor is required for your web 3.0 web project, you can generate one using the Generate Deployment Descriptor Stub.

Procedure

  1. Right-click your web 3.0 web project and select Java EE Tools > Generate Deployment Descriptor Stub. The web.xml file is generated in your project WEB-INF directory.
  2. Double-click web.xml to open the deployment descriptor in the editor.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tcrtweb30wdde.html