前台:var h = new Ext.data.JsonStore({
        url: '../pages/sysdata.jsp?ctrl=affix&scmd=' + GetSendSign(f['user']) + ".GetAffixView(" + f['uuid'] + ",," + ")&part=",
        root: 'images',
        fields: ['id', 'name', 'url', {
            name: 'size',
            type: 'float'
        }]
    });
    h.load();
.....
l.on("click", 
    function(a, b) {//点击一个树形节点时的时间响应
        if (a.id == "root") {
            j.getStore().load()
        } else {
            var c = '';
            var d = a;
            if (d != null) {
                for (var n = 0; n < 100; n++) {
                    if (d != null && d.id != 'root') {
                        if (c == '') c = d.text;
                        else c = d.text + "\\" + c;
                        d = d.parentNode
                    }
                }
            }
            j.getStore().load({
                params: {
                    part: c
                }
            })
        }
    });
然后我再后台request.getParameter("part")的值为空字符串
上网查了下,说这样接收不行,又按网上说的方法DataInputStream input = new DataInputStream(request.getInputStream());     
        String str;     
        Object o = null;     
        while (null != ((str = input.readLine()))) {     
            o = str;     
        }     
    
        input.close();     
    
JSONObject jos = JSONObject.fromObject(o);     
            Object obj = jos.get("part");    
可是空指针报异常,我调试了下,是input.readLine()==null 即o没有得到值
怎么搞啊,就是part的值接收不到,其余两个参数的值都能正常接收的。
谁会啊 帮帮忙。