title: Getting Request parameters from Ajax Response
body: <p>I am making ajax call to a java method for every 30 seconds.
  I am setting few request parameters in the java method.</p>
  
  <p>How can I get them from ajax response.</p>
  
  <pre><code>&lt;script LANGUAGE="JavaScript1.2"&gt;
  
  var tId = window.setTimeout(function () { 
  location.reload(true);
  alert('&lt;s:property value="#disableReload" /&gt;');
  if('&lt;s:property value="#disableReload" /&gt;' == "true"){
      alert("clearing");
  }else{
      var url = 'moveETHAction_fetchExecutorData.action';
      var form = document.getElementById('moveForm');
      var params = Form.serialize(form) + '&amp;ms=' +  new Date().getTime();
      form.action = "fetchExecutorData";
      var myAjax = new Ajax.Request(url, {method: 'post', parameters: params, onComplete: showResponseAction} );
  }
  }, 30 * 1000);
  
  function showResponseAction(originalRequest){
  alert(originalRequest.responseText);
      alert('&lt;s:property value="#request[\'DISABLE_FLOW'\]" /&gt;');
  document.getElementById('actionChange').innerHTML = originalRequest.responseText;
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>In Java method I am setting this parameter</p>
  
  <blockquote>
    <p>request.setAttribute(GenericConstants.DISABLE_FLOW, false);</p>
  </blockquote>
  
  <p>But I am not getting the updated value from the ajax</p>