Hi, I am developing a website using ajax also. In particular, with ajax, I implemented the server by uploading files written by me. The files are of type xml. To send the parameters using Get:
request.open("GET", url, true);
request.onreadystatechange = function () {loadHandler(me)};
request.overrideMimeType('text/xml');
request.send(null);
To obtain the data received in the client use:
if (req.readyState == 4) {
if (req.status == 200) {
if(req.responseXML) {
var xml = req.responseXML;
...........................
}
}
}
The problem arises when the file is too large, then the client receives only a piece of the file. How can I fix this?