title: I couldn't get the POST value in servlet page?
body: <p>I couldn't get the POST value in servlet page. my previous question related to this question.<a href="https://stackoverflow.com/questions/6042177/how-to-get-the-data-from-ajax-request-in-servlet-page">How to get the data from ajax request in servlet page?</a></p>
  
  <p>I need dataRequestObject value in my servlet page.</p>
  
  <pre><code> var dataRequestObject= {}; 
                  dataRequestObject= {mark:Mark,subject:English,language:C language,author:john};
  
  var dataRequestHeader= {}; 
                  dataRequestHeader= {Username:uname,Password:pword,Domain:domain,WindowsUser:windowsuser};
  
  
      $.ajax({
              type:'POST',
              url:'http://localhost:8090/SampleServlet1/serv', //calling servlet      
              cache:false,
              headers:dataRequestHeader,
              data:JSON.stringify(dataRequestObject),
              success:function(){ alert("Request Done");},
              error:function(xhr,ajaxOptions){
                  alert(xhr.status + " :: " + xhr.statusText);
                  } 
              });
  </code></pre>
  
  <p>Thanks in advance.</p>