title: http url for js file inside a war?
body: <p>Suppose a WAR layout like so:</p>
  
  <pre>
  foo.war
  -->/WEB-INF
     -->/classes (..)
     -->/js
        -->bar.js
     -->index.jsp
     -->web.xml
  </pre>
  
  <p>Now suppose the WAR's virtual directory is /blah on server example.com (i.e. <a href="http://example.com/blah" rel="nofollow">http://example.com/blah</a>).</p>
  
  <p>What is the HTTP URL of <code>bar.js</code>, one that would be used in a <code>&lt;script src=""&gt;</code> tag that <code>index.jsp</code> might serve up? <a href="http://example.com/blah/js/bar.js" rel="nofollow">http://example.com/blah/js/bar.js</a> doesn't seem to be working.</p>