EXTJS ajax request
问题 in extjs, i am trying to make the save button to do the following when clicked. people.java is the controller. var letssay = function() { Ext.Ajax.request({ url : 'people.java', method: 'POST', params :{'firstname': firstname}, success: function ( result, request ) { What I do is make function letssay and call it under button. But it doesn't respond correctly. What am I doing wrong here? buttons: [{ text: 'Save', handler: function(){ letssay(); 回答1: Java classes need to be compiled and served