title: Get path to servlet container deploy/webapps folder
body: <p>From within the service method of a servlet, I can get the path to the web application's root folder with <code>getServletContext.getRealPath("")</code>, e.g. <em>/tomcat/webapps/MyWebApplication</em>, but is there any way I can get the path to <em>/tomcat/webapps/</em> or optionally a specific other web application like <em>/tomcat/webapps/MyOtherWebApplication</em> (without resorting to hacks like substracting the context path)?</p>
  
  <p>(Using only TomCat as an example, should work across all servlet containers.)</p>