ajax - Reading JSON values in servlet -
i posting jquery ajax post servlet , data in form of json string. not sure whether data getting posted or not. also, want verify login , password fetching json object. heres code snippet: <script src="http://code.jquery.com/jquery-latest.min.js"></script> <script type="text/javascript" src="http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script> <script type="text/javascript"> function doajax(){ var fullname=$("#fullname").val; var mobileno=$("#mobileno").val; $.ajax({ url: 'dvsds', type: 'post', datatype: 'json', data:{ "mobileno":mobileno, "fullname":fullname}, error:function(){ alert("error occured!!!"); }, success:function(data){ alert(data.message); } }); } </sc...