我得到“网关超时”错误在我的浏览器,同时使如下岗位Ajax请求:POST Ajax请求得到timout
$.ajax({
url: '/templatemanager/fileupload.html',
data: formData,
processData: false,
contentType: false,
type: 'POST',
success: function(data){
alert ('done');
},
error: function(jqhdr, textStatus,errorThrown){
alert (errorThrown);
}
});
The error thown message is "Gateway Time-out".
Please let me know, how to rectify this issue.
Whether, i should increase the tomcat http connector tiemout or ajax timeout?
网关超时错误坚持..所以请检查服务器端脚本代码。主要是由于第三方API集成,但API没有按时响应,所以这个错误是造成的。 –
我有java代码逻辑解析文件上传并插入数据库中的记录。这是我的文件有更多的记录,因为我的ajax显示错误的特殊情况。 – Ravish