title: How to map Spring MVC controllers to a specific folder?
body: <p>I'm working on a project using Spring MVC, Spring Boot, Gradle and Thymeleaf. I was wondering if there's a way to avoid controllers returning lengthy String paths to a specific view in a subfolder?</p>
  
  <p>My views are currently in <code>resources/templates/views/home/</code></p>
  
  <pre><code>public String index( Model model ) {
      return "views/home/index";
  }
  </code></pre>
  
  <p>I'm looking to only have to return something like <code>home/index</code> or <code>home/someotherpage</code> for the HomeController.
  Thanks!</p>