title: How to make an html-file appear on localhost with Spring Boot?
body: <p>I am using Spring Boot and have an html-file "index.html", and I have a class "Functions". Basically, what I want to happen is that when the functions-class is run, and when I go to localhost:8080, the html-template appears at localhost.
  How should I do this?</p>
  
  <p>Here is a segment of the Functions-class:</p>
  
  <pre><code>public class Functions{
     @RequestMapping("/")
     public void getHomepage(){
        //Return the html-template
     }
  </code></pre>
  
  <p>}</p>
  
  <p>The html-file is called "index.html" and is in the src/main/resources/static-folder.</p>
  
  <p>Thank you! </p>