14-Oct-04 (Created: 14-Oct-04) | More in 'Howto-Advanced'

Placing a context path in server.xml for Tomcat

The context string looks like


<Context path="/akc" docBase="w:/satya/webapps/akc" debug="0"/>

The question is what is the parent node to the "Context" node. Here is the hierarchy in that xml file


<Server><Service><Engine><Host>
		<Context path="/akc" docBase="w:/satya/webapps/akc" debug="0"/>
</Host></Engine></Service></Server>

This is based on tomcat 5. Probably the same for earlier and later tomcats as well. But just check in case