title: How to find the path of webapps directory using java
body: <p>Is there some way to find the path of tomcat's webapps directory using java, as we use <code>System.getProperties("...")</code>  to get <code>user.dir</code> etc </p>
  
  <p>thanks in advance. </p>