title: How to fix (Error: parsererror errorThrown: SyntaxError: Unexpected token < )using java action
body: <pre><code>var duepaymentDebtDate = "02/02/2015";
   $.getJSON("checkDateAjaxtoJSON.action",{"duepaymentDebtDate":duepaymentDebtDate},
       function(json){
  
           alert(json);
       }).error(function(jqXHR,textStatus, errorThrown){
  
              console.log("Error: " + textStatus + " errorThrown: " + errorThrown);
  
           });
  </code></pre>
  
  <p>this code I want to do something in my action and <code>json</code> doesn't return result and they show message error in console like these :</p>
  
  <pre><code>Error: parsererror errorThrown: SyntaxError: Unexpected token &lt;
  </code></pre>
  
  <p>anybody can help me?</p>