/ 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
Expand |
Embed | Plain Text
<?xml version='1.0' encoding='utf-8'?> <Context docBase="/path/to/youProjectDir/web" path="/youProjectURL" reloadable="true" workDir="/path/to/youProjectDir/work"> <!-- Contents --> </Context>
You need to login to post a comment.
