title: Returning String or HTML to ajax request with spring 2.5
body: <p>I am using Spring 2.5 (XML based configuration) .In my Spring controller how can i return a string back to my AJAX request?
  My ajax code is as follows:</p>
  
  <pre><code> jq("#editAdTextSave").click(function() {
          alert( "Handler for .click() called." );
          jq.ajax({
                url: 'bookingDetail.html',
                type: 'POST',
                data: 'action=updateAdText',
                success: function(data) {
                  //called when successful
                  alert(model);
                  //$('#ajaxphp-results').html(data);
                },
                error: function(e) {
                  //called when there is an error
                  //console.log(e.message);
    }
  });
      });
  </code></pre>
  
  <p>COntroller onSubmit requires a ModelAndView object return value.However I only require to return a string.How could I do that.Please suggest.</p>