Return to Snippet

Revision: 8327
at September 15, 2008 01:29 by Uzbekjon


Initial Code
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="/path/to/youProjectDir/web" 
  path="/youProjectURL" 
  reloadable="true" 
  workDir="/path/to/youProjectDir/work">

	<!-- Contents -->
      
</Context>

Initial URL

                                

Initial Description
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

Initial Title
Context file for Tomcat

Initial Tags
java

Initial Language
Java