Redirect does not work in Spring Boot
<p>I have a controller, that I simply want it to redirect the request to another page. However instead of redirecting, it prints out <code>redirect:/test.html</code>.</p>

<p>I have tried to access <code>test.html</code> manually, and it works fine through <code>localhost:8080/test.html</code></p>

<p>Here is the controller code:</p>

<pre><code>@RequestMapping("/test")
    private String entry(){
        return "redirect:/test.html";
    }
</code></pre>