表单提交到jsp成功 从jsp返回时 报语法错误这是ExtJs的代码
var ggwindow = null;
var ggForm = new Ext.form.FormPanel({//这是一个表单
    id:'ggForm',
    frame: true,
    layout: 'form',
    labelWidth:100,
    labelAlign:'right',
    width: 460,
    url: path + "/javascript/desktop/homepage.jsp",
    items: [{
        xtype: 'textfield',
        fieldLabel: '标题',
        name: 'bt',
        width: 130
    },{
        xtype: 'textarea',
        fieldLabel: '内容',
        name: 'nr',
        width: 130
    }]
});/*公告栏*/
this.root.appendChild(new Ext.tree.TreeNode({ //设置网页中的菜单
    id : 'ggl',
    text : '发公告',
    iconCls : 'manageSub',
    listeners : {
        'click' : function(node, event) {
            if (ggwindow == null) {
                ggwindow = new Ext.Window({
                    title: '填写公告信息',
                    modal: true,
                    width: 300,
                    height: 136,
                    buttonAlign: 'center',
                    items: ggForm,
                    buttons: [{
                        text: '发送',
                        iconCls:'button_yes',
                        handler: function(f,a){
                            ggForm.getForm().submit({
                                waitMsg: '执行中,请稍候......',
                                success : function(form, action) {
                                    Ext.Msg.alert('提示','执行成功!',function(){
                                        ggwindow.hide();
                                    });
                                },
                                failure : function(form, action) {
                                    Ext.Msg.alert('提示','执行成功!',function(){
                                        ggwindow.hide();
                                    });
                                }
                            });
                        }
                    },{
                        text: '取消',
                        iconCls:'button_no',
                        handler: function(){
                            ggwindow.hide();
                        }
                    }]
                });
            }
            ggwindow.show();
        }
    }
}));
/*公告栏*/
这是jsp中的代码<%!String title = null; %>
<%!String conte = null; %>
<%
    title = request.getParameter("bt");
    conte = request.getParameter("nr");
%>
<body> <!--  scroll="no" -->
<%
    if (conte != null) {
%>
        <div>
<%
        if (title != null) {
%>
            <font><b><%=title %></b></font>
            <br>
<%
        }
%>
        <font><%=conte %></font>
<%
%>
        </div>
<%
        out.print("{success:true}");
    }
%>
</body>