title: How to retrieve images stored in file server?
body: <p>I have a java web service through which I upload images to a file server. I want to access these images from my java web app. <strong>How can I make the image files (and eventually other static files) available from this file server?</strong> </p>
  
  <p>The only thing I could think of was to use Apache Http server as a proxy to my web app for these images, but that circumvents the security measures of the web app.</p>
  
  <hr>
  
  <p><strong>UPDATE:</strong></p>
  
  <ol>
  <li>Servlet container: Tomcat</li>
  <li>Web app is on separate server from images.</li>
  <li>Web service is on same server as images and has direct access to file system.</li>
  <li>Both web app and service use spring security for authentication/authorization, I want to continue to use this security framework to for image access.</li>
  </ol>