title: Tomcat: not appending trailing "/" when finding a directory
body: <p>I deployed a .war archive in Tomcat 7.0.22 (Java 1.6, MacOS Lion). The war is called "myapp.war" and so Tomcat is serving <a href="http://localhost/myapp" rel="nofollow">http://localhost/myapp</a> (having expanded the war in /webapps/myapp). This is the usual behavious</p>
  
  <p>When accessing a url that corresponds to a directory, it should append "/" . For having static files (.css, .js..) working correctly, this is needed, but while with the sample sites that ship with Tomcat this works (for example visiting <code>http://127.0.0.1:8080/examples</code> suddenly remaps to <code>http://127.0.0.1:8080/examples/</code>), on my site tomcat doesn't add any "/" making the search for static files broken. When manually calling <code>localhost:8080/myapp/</code> (&lt;-- I add the slash) everything works fine.</p>
  
  <p>What should be going on? Mind that I haven't touched any Tomcat setting, I'm just experimenting with what comes out directly from Apache's zip file!</p>
  
  <p>Thanks </p>