title: Java Web Application. Spring Boot. Locating Images
body: <p>I've recently solved a problem of locating images in this community. You can look <a href="https://stackoverflow.com/questions/32798046/java-web-application-problems-in-locating-images/32798410#32798410">here</a>.</p>
  
  <p>However, one answer said:</p>
  
  <blockquote>
    <p>Your app is a Spring Boot app. I think that you can also try to use the facilities provided by Spring Boot for serving static content. Anyway, you are doing it right now because you are using webjars for css and js libs!!! Be consistent with the tech that you are using.</p>
  </blockquote>
  
  <p>This means, it's recommendable to locate the images files in <code>/src/main/resources</code> and not in <code>/src/main/webapp</code>.</p>
  
  <p>How could i use the facilites that Spring Boot provides me?</p>
  
  <p>Thanks</p>