データを編集し、変更されたレコードを配列に保存したエディター グリッド パネルを作成しました。これらのレコードを jsp ページに渡してデータベースで更新する方法
function modifycheckpoints(){
var updateddata =new Array();
updateddata.push(checkpoint.getModifiedRecords());
Ext.Ajax.request({
url: 'update_checklist.jsp',
params: {
updatedcheckpoint: updateddata
},
success: function(response){
Ext.Msg.alert("Result","Data modified successfully");
checkpoint.reload();
},
failure: function(response){
Ext.MessageBox.alert('Error','could not connect to the database. retry later');
}
});
}
});
私はそのように試しましたが、jspページでデータを取得できません助けてください