title: HTTP status 404 while calling ajax url
body: <p>I have a form which has submit button and button. I am implementing an ajax cal for a button using get method. I have passed value in url. and while clicking on button, it is making an ajax cal. but in the middle before success function, stopping abruptly. If I see in "Show Command Line Popup" in mozilla, I am able to see the error status:404."The requested resource is not available".</p>
  
  <p>I am using thymeleaf and spring mvc. below is my ajax cal</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function process(){
          alert("button clicked");
          $.ajax({
              url:'searchabc',
          }).done(function (){
              alert("success");
          });
      }
  &lt;/script
  </code></pre>
  
  <p>and spring method:</p>
  
  <pre><code>@RequestMapping(value = "xxx/yyy/searchabc", method = RequestMethod.GET)
      public String searchabc(Model model){
          log.debug("hello");
           return "helloworld";
      }
  </code></pre>