title: Tomcat 404 for a folder in webapps
body: <p>I have a folder called attachments in my <code>webapps</code> folder in my <code>Apache Tomcat</code> directory, in which I need to save some files and images. When I'm giving the local path i.e. in <code>C:/</code> the files needed are being saved in the correct location.</p>
  
  <p>However I need to load these images from the server at runtime so I'm trying to access the image by the localhost url <code>/attachments/img.png</code>. The image is not being found (<code>404 error</code>).</p>
  
  <p>I tried opening Tomcat's <code>manager</code> to see if attachments is listed. It is there however when I click it a 404 error is being thrown too. Other deployed web applications are being found. </p>
  
  <p>What could be the cause of this?</p>