I have a code to send an AJAX request that appears to be functioning correctly under firebug, sending the correct parameters:
Ext.Ajax.request({
url: 'test',
params:{name: "bunya"},
success: function(resp){
button1.setText(resp.responseText);
},
failure: function(e,resp){
button1.setText('Disgrace!');
}
});
}
The servlet code (as far as I can tell) should retrieve the name parameter:
String respString =request.getAttribute("name").toString();
But it keeps returning null.
My question is, how do I access the attributes from this application/x-www-form-urlencoded request?