function validate (user_value){
var name = user_value;
$.ajax({
url:"ggs.erm.servlet.setup5.AjaxS",
data:{ namee :name},
success:function(){
alert("worked");
}
});
}
This is my Code. Is something wrong with it?? Any kind of syntax or semantics error.
Problem:Not able to send parameter to servlet in URL.?????
If you want your servlet’s
doPostmethod to handle the request you should add propertytypewith valuepost.This way your Ajax request will be post instead of get (the default one).