Extjs Sencha和JavaServletSync()

Extjs Sencha和JavaServletSync(),extjs,sencha-touch,Extjs,Sencha Touch,我正在修改一个教程,以便从localstorage更改为使用Javaservlet,但我遇到了一些问题。我试图通过调用sync()更新用户所做的更改,但我收到了这些错误 [WARN][Ext.data.Operation#process] Unable to match the record that came back from the server. 我尝试查看更新后的值是否发送到servlet String name = request.getParameter("name"); 是空

我正在修改一个教程,以便从localstorage更改为使用Javaservlet,但我遇到了一些问题。我试图通过调用sync()更新用户所做的更改,但我收到了这些错误

[WARN][Ext.data.Operation#process] Unable to match the record that came back from the server.
我尝试查看更新后的值是否发送到servlet

String name = request.getParameter("name");
是空的。如何将更新后的值发送回服务器并读取它们?我试图寻找sencha touch+servlets教程,但找不到任何内容

这是我的同步代码

var showsStore = Ext.getStore("Shows");

    if (null == showsStore.findRecord('name', currentShow.data.name)) {
        showsStore.add(currentShow);
    }

    showsStore.sync();

存储同步的预期返回是一个JSON记录数组,或者什么都没有

将其添加到您的数据存储中

 writer: {
         type: 'json',
         rootProperty: 'data',
         encode: true,
         writeAllFields: true
         },

是啊,jsonarray被退回了。与之前发送的相同。edittext字段中的更新值未发送到我的服务器