I have some data in jsp page entered by user. i want to send this data to servlet. i dont want to submit the form. I am using json object and adding the data into it using :
var param;
var url = 'ConfigurationServlet?ActionID=Configuration_Physical_Get';
httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
httpRequest.open("POST", url, true);
httpRequest.onreadystatechange = handler(){
if (httpRequest.readyState == 4) {
if (httpRequest.status == 200) {
param = 'ip='+ip;
param += 'mmv='+mmv;
param += "tab="+tab;
}};
httpRequest.send(param);
Now i dont know how can i access this param at server side. and if i will be able to access it in servelet, next step will be to send a json object back to jsp page from servlet containing result. and i hve to display this result in jsp page dynamically. please reply. Thanks Divi