JBoss upload and download
<p>I'm building an application which accepts a task as an input file, generates an output file and returns a link to download it. I'm using JBoss as application server and Struts 2 as MVC framework. My questions are:</p>

<ol>
<li>Which directory should I use for storing uploaded files?</li>
<li>How should I configure JBoss to allow downloading files from that folder?</li>
</ol>