我正在接受"网关超时"发布ajax请求时我的浏览器出错如下:
$.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?
答案 0 :(得分:0)
你正在做一个" POST"到HTML文件。我尝试设置'输入'到" GET"。
(或者,该文件应该是PHP,因为它可能是关于文件上传的?)