The Tomcat context descriptor node
reflects the context.xml file that contains the web module's context
element. The Tomcat context descriptor node appears under the web module's META-INF
node. When Tomcat is set as the default server, the IDE creates the META-INF
directory and the Tomcat context descriptor when you create, mount, or import
a web module, unless one already exists.
The context.xml file is used for setting a web module context path and for advanced web module configuration. For simple web modules, you do not need to edit the context.xml file because you use the WEB-INF property sheet to set the context path and the deployment descriptor (web.xml) to configure the web module. The IDE maintains the context element's path attribute automatically when you edit the Context Path in the WEB-INF properties sheet. If you update the context path in one place, the IDE updates the value in the other place.
You can use the context.xml file to make the following settings:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
When you right-click this node and display the contextual menu, you see a list of menu items that enable you to work with this node. The following list describes some of these menu items.
See Also | |
---|---|
Setting
a Web Module Context for the Tomcat Server Setting WEB-INF Properties Editing the Tomcat Server Configuration File Running a Web Module Using Tomcat |