如果有sethttprequestheader的话
则表示的是POST方式了!
$('#ajax').click(function (){ $.ajax({ url: 'http://localhost:8080/Process/ProcessServlets?id='+Math.random(), type: 'get', dataType: 'text', timeout: 1000, error: function(){ alert('Error loading XML document'); $("#results").html(""); },