title: List deployed webapps in Apache Tomcat
body: <p>I need to get a list of deployed webapps in Apache Tomcat. Also, for each webapp I need to get a list of initialized servlets and JSPs. Any ideas how this can be done?</p>
  
  <p>I've found that the directory <code>\tomcat\work\Catalina\localhost\</code> contains a child directory for each webapp. Could there be any other deployed webapps that aren't present there?</p>