/ Published in: Java

Create an xml file with this content to tell Tomcat to use seperate folder (can be any folder, even out of tomcat root) as a root folder of your application.
Copy this file into TomcatDir/conf/Catalina/localhost
Copy this file into TomcatDir/conf/Catalina/localhost
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?xml version='1.0' encoding='utf-8'?> path="/youProjectURL" reloadable="true" workDir="/path/to/youProjectDir/work"> <!-- Contents --> </Context>
Comments
