Reputation: 2954
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
Upvotes: 19
Views: 17169
Reputation: 7195
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" />
Upvotes: 40