Hi all, I want to know is it possible to run a servlet application if I put in a directory other than Tomcats webapps directory. For example if I created an application on D drive and I want to run it how can I do this?
create a xml with above tag. Attribute docBase refers to app root and path refers your app context. Name this xml file like "myapp.xml" (its not hard and fast rule...but its a convention). Place it in tomcat\conf\Catalina\localhost