title: Thymeleaf templates and static resources in the same directory
body: <p>Is it possible to configure Thymeleaf/Spring application to serve templates and static resources from the same directory (either via configuration or custom view resolver)? </p>
  
  <p>I'm using Thymeleaf just for localization of the templates and rest of the page logic is handled by Angular JS. I have it working with templates and static content separated but this will be a big project and I want to use recommended structure where all files related to one page are located in the same "package".</p>
  
  <p>I'm looking for structure that looks like this:</p>
  
  <pre><code>└── src
      └── main
          └── java
              └── HelloController.java
              └── LoginController.java
          └──resources
              └──templates
                 └──hello
                    └──hello.html (dynamic thymeleaf template)
                    └──hello.js (static resource)
                    └──hello.css (static resource)
                 └──login
                    └──login.html
                    └──login.js
                    └──login.css
          └──webapp
              └──WEB-INF
                 └──web.xml
  </code></pre>
  
  <p>Thank you for any suggestions.</p>