title: How to host and refer to static content from within your ear file
body: <p>We have several j2ee applications (e.g. A.ear, B.ear, C.war) running in a single jboss instance, we have a requirement to share a set of static files across these applications. So I should be in a position to access these files as <a href="http://myhost/folderA/fileA.htm" rel="nofollow">http://myhost/folderA/fileA.htm</a> or <a href="http://myhost/folderB/file.js" rel="nofollow">http://myhost/folderB/file.js</a> from within my ear or war files.</p>
  
  <p>How should I tell the jboss appserver (5.1.0) to look for these files, how should I deploy this static content in my <code>server/default/deploy</code> directory or the <code>docs</code> folder</p>