title: Why my thymeleaf redirect not work?
body: <p>i want to direct to main page, but my code won't work, and it not give me some error, it just nothing happened.</p>
  
  <p>here is my bean</p>
  
  <pre><code>&lt;bean id="templateResolver" 
      class="org.thymeleaf.templateresolver.ServletContextTemplateResolver"&gt;
      &lt;property name="prefix" value="/WEB-INF/thymeleaf/" /&gt;
      &lt;property name="suffix" value=".html" /&gt;
      &lt;property name="templateMode" value="HTML5" /&gt;
      &lt;!-- Template cache is set to false (default is true).        --&gt;
      &lt;property name="cacheable" value="false" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="templateEngine" class="org.thymeleaf.spring3.SpringTemplateEngine"&gt;
      &lt;property name="templateResolver" ref="templateResolver" /&gt;
  &lt;/bean&gt;
  
  
  &lt;bean id="thymeleafViewResolver" class="org.thymeleaf.spring3.view.AjaxThymeleafViewResolver"&gt;
      &lt;property name="viewClass"
      value="org.thymeleaf.spring3.view.FlowAjaxThymeleafView" /&gt;
      &lt;property name="templateEngine" ref="templateEngine" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>then i want after i do the insert, the user got directed to main page which is home.html</p>
  
  <p>here is my controller code :</p>
  
  <pre><code>public String saveOrder(SaveOrder saveOrder){
      this.saveService.save(saveOrder);
  
      return "redirect:home";
  }
  </code></pre>
  
  <p>when i do debug it, the process go to the end of the line, it process the return "redirect:home"; but why it won't direct me? help me to find this out</p>