extjs执行修改操作提交失败

我想问一下我的前台页面 执行修改操作
选取一条记录已经修改成功了

然后也可以打印获得的布尔值
为什么EXTJS老是提交状态。。。。不执行下面的代码了
数据库已经修改成功了.
数据库使用的是mysql

你返回的JSON数据格式错误了,EXTJS要求的是这种样式的

[code="js"]would process the following server response for a successful submission:
{
"success":true, // note this is Boolean, not string
"msg":"Consignment updated"
}
and the following server response for a failed submission:
{
"success":false, // note this is Boolean, not string
"msg":"You do not have permission to perform this operation"
}[/code]

但是你返回的是这种格式的
[code="js"]
{ success : {success=true}}[/code]

你把UpdateMusicdtServlet.java改成这样就可以了
[code="java"]
//Map args = new HashMap();
//args.put("success", "false");
boolean issuccess = false;
String music_id = request.getParameter("music_id");
String music_name = request.getParameter("music_name");
。。。。。
if(1==result)
//args.put("success", "true");
issuccess = true;
} catch (Exception e) {
e.printStackTrace();
}
request.setAttribute("success", issuccess);

[/code]

这样就可以了

你没写回调函数,把页面的提交状态改为其他状态

工程下的哪个文件?

在成功返回时,alert(success);有弹出吗,显示的值是什么?

你能不能把对应的建表语句给整一下,不然没法看你的现像

那张图片就一张表。。。。

我看你的代码应该有三张表的?