title: Spring MVC using AJAX
body: <p>I am new to Spring MVC. I have an existing system which uses Spring MVC with SimpleController. On submit of a button there is a ajax call which in turn calls controller and returns modelview object. </p>
  
  <p>At this scenario I have a question. This modelview object returns a view, a jsp page and also on success of ajax call there is a call to windows.href.location which redirects to another url. Can someone help me which of these two will get called? </p>
  
  <p>Will the view's jsp will be rendered and then will get again redirected to url specified in success function?</p>