title: Where is the Tomcat7 WEB root in Ubuntu 14
body: <p>I have just installed Tomcat 7 for my JSP projects via apt-get so it is installed as a service. I am using Ubuntu 14.10 LTS</p>
  
  <p>I run this code to install everything about Tomcat 7.0.61</p>
  
  <pre><code>sudo apt-get install tomcat7 tomcat7-docs tomcat7-examples tomcat7-common tomcat7-admin tomcat7-user
  </code></pre>
  
  <p>Then I found that there is tomcat7, tomcat7-docs, tomcat7-examples, and tomcat7-admin installed in /usr/share folder</p>
  
  <p>This makes me completely confused cuz I can run examples and docs via the url <a href="http://localhost:8080/examples" rel="noreferrer">http://localhost:8080/examples</a> or <a href="http://localhost:8080/docs" rel="noreferrer">http://localhost:8080/docs</a></p>
  
  <p>Note that the examples and docs folders are in /usr/share. So I feel like the /usr/share folder is my web root for Tomcat 7 because those folders are in there.</p>
  
  <p>However, in /var/lib/tomcat7/, there is webapps folder but when I try putting file in the folder, the file is not working at all.</p>
  
  <p>So anyone can explain where the webapps or root folder for Tomcat is? and how to properly set the path for the web root folder?</p>