How does Tomcat locate webapps directory? Where is this location set? Is it a relative directory?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It can be changed in the
$CATALINA_BASE/conf/server.xmlin the<Host />element.See the Tomcat documentation, specifically the section in regards to the Host container:
Tomcat 6 Configuration
Tomcat 7 Configuration
Tomcat 8 Configuration
Tomcat 9 Configuration
Tomcat 10 Configuration
The default is
webappsrelative to the$CATALINA_BASE. An absolute pathname can be used.