
Use this procedure to add a Web archive to your DLP project. In this way, you can edit its archive deployment descriptors.
Use unique WAR names in a project.
| If You Want To | Then |
|---|---|
|
Create a new WEB archive |
Check the Create New checkbox. |
|
Load an existing Web archive |
Check the Load Existing checkbox. You also have to select from the file system the deployment descriptor of the WAR in the web.xml File field. |
See J2EE Web Application for more information about the directory structure of the Web archive files.
The Web archive appears as a node at the J2EE Components tab. If you have added an existing Web archive, the components described in the deployment descriptor will appear too.
You can remove or add to the archive new or existing components. For more information, see Web Component Addition.