title: Why does java can't recognize html text after submtting to Spring controller?
body: <p>I send js variable to Spring controller by clicking button. 
  That's what I have in js:</p>
  
  <pre><code>function submitArticle()
  {
      var pdata= $('textarea').froalaEditor('html.get');
      $.post("/submitProject", pdata).done(function(response) {
          console.log("Response: " + pdata);
      });
  }
  </code></pre>
  
  <p>So it works well, console.log displays next : <code>&lt;h1&gt;New Article&lt;/h1&gt;&lt;p&gt;Some text&lt;/p&gt;</code></p>
  
  <p>but, that's what I get in Spring controller:</p>
  
  <pre><code>%3Ch1%3ENew+Article%3C%2Fh1%3E%3Cp%3ESome+text%3C%2Fp%3E=
  </code></pre>
  
  <p>It just replaces <code>&lt;</code>, <code>&gt;</code>, <code></code> and <code>/</code> to some codes. How to replace them to normal tags. Because I want to store this html code in java String.</p>
  
  <p>My Spring Controller:</p>
  
  <pre><code>@PostMapping("/submitProject")
  public ModelAndView submitProject(@RequestBody String html, @ModelAttribute(value = "LoggedUser") User user)
  {
      System.out.println(html);
      return new ModelAndView("redirect:/");
  }
  </code></pre>