Q:

How to deploy external webapp in tomcat?

Could anyone answer my question, please?
I'd like to deploy a web application folder 
C:\app\myapp

to Tomcat6.x instead of having a copy under
%TOMCAT_HOME%\webapps

Which configuration is required on tomcat server?
Thanks

A:

You should create a myapp.xml file for this app and place it in %TOMCAT_HOME%\conf\Catalina\localhost.
The file looks something like this:
<Context displayName="myapp" 
     docBase="C:/app/myapp"
     path="/myapp"
     reloadable="true" />

