Thursday, October 23, 2008

Hot Linking Your Java WebApp Project To Tomcat

1. Create an xml file under $TOMCAT_HOME$\conf\Catalina\localhost using the following filename format: ApplicationContextName.xml. For example, myapp16.xml would represent the “myapp16” application context.

2. The content of the xml file need to specify the following:

<?xml version='1.0' encoding='utf-8'?>
<Context path="/myapp16" docBase="D:\projects\myapp_1.6\webapp"/>

No comments: