title: Undeploy web application from tomcat doesn't remove the deployed directory
body: <p>I am using tomcat manager commands to deploy and undeploy web applications on a tomcat server. The problem is when I try to undeploy a web application, it does remove the <code>.war</code> file from the <code>webapps</code> directory but the exploded directory doesn't get removed (the <code>WEB-INF/lib</code> folder), neither from the List Applications in the tomcat mananger. </p>
  
  <p>I am on Windows and I am using Tomcat 6.0.20. </p>
  
  <p><strong>Note:</strong> When I tried to delete the directory manually it gave me an error saying that the file is being used by another program.</p>