Deleting a Context

The Context element in the server.xml file represents a web module that executes within a particular host. When a particular Context is no longer required, you can delete it. The context will be recreated if necessary when the web module is executed or deployed from within the IDE.

To delete all Contexts:

  1. On the Runtime tab of the Explorer, expand the Installed Servers node.
  2. Expand the Tomcat 4.0.x node, then expand the node for the relevant installation.
  3. Right click on the node for the Host containing the Contexts to be deleted.
  4. Choose Delete All Contexts from the contextual menu.

To delete a particular Context:

  1. On the Runtime tab of the Explorer, expand the Installed Servers node.
  2. Expand the Tomcat 4.0.x node, then expand the node for the relevant installation, then expand the node for the Host containing the Context to be deleted.
  3. Right-click on the Context to be deleted, then choose Delete from the contextual menu.
See also
Tomcat 4.0.x Context Node
Adding a Context

Legal Notices