views:

20

answers:

0

In my JS i'm using this code

    try{
var xhrArgs = {

                url: "/mum/proxy/http/localhost:8080/com.error.android.mashup/xmlContentReader",
                postData: tmp,
                handleAs: "text",
                load: function(data) {
                  //  alert("data:"+data);
                },
                error: function(error) {
                    //We'll 404 in the demo, but that's okay.  We don't have a 'postIt' service on the
                    //docs server.
                   alert(error);
                }
            };
var ret = dojo.xhrPost(xhrArgs);
}
catch(ex){alert(":::"+ex);}`

when I run the app which contains this code in firefox browser server is getting the request and i'm able to get the value present in the tmp variable...

but when trying from android browser request is not received at server side....