Editing the WebLogic web application deployment descriptor

A WebLogic web application can have two deployment descriptors, web.xml and weblogic.xml. The web.xml deployment descriptor is defined by the Servlet specification from Sun Microsystems and is required. The weblogic.xml deployment descriptor is specific to WebLogic Server and is optional. WebLogic-enabled projects contain a weblogic.xml deployment descriptor.

For information about editing web.xml see the IBM Rational Developer documentation.

The WebLogic web application deployment descriptor can be edited directly as follows:

  1. Switch to the J2EE perspective.
  2. In the Project Explorer view, expand the web project that has the deployment descriptor you want to edit.
  3. Within the project, you will find a WebLogic folder labeled wls81 (for WebLogic Server 8.1), wls70 (for WebLogic Server 7.0) or wls61 (for WebLogic Server 6.1).
  4. Expand the folder and then double-click on weblogic.xml. This opens the WebLogic-specific deployment descriptor in the XML editor.

Notes:

Related concepts
Enabling WebLogic support

Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.