title: how to access image folder in spring application
body: <p>I like to access an image from the <code>web/images</code> directory. I like to access this image in the <code>spring controller</code>, so I can convert this image to <code>byte[]</code>. I am creating a chart and this image is part of the chart display. So, I am using this <code>byte[]</code> to construct <code>Graphic2d object</code>. Closest I have got to it is using this: </p>
  
  <pre><code>FileSystemResource resource = new FileSystemResource("images/"+imageName);
  </code></pre>
  
  <p>Currently, I have stored this image in the package structure. I like to do better than this. I like to read directly from <code>web/images</code> directory. Please give me some advice, Thanks.</p>