English 中文(简体)
另一家东道方的电话中不允许出现FF ́catt号例外。
原标题:Access denied | uncaught exception in FF 2.0 | servlet call from another host
  • 时间:2009-10-20 13:21:46
  •  标签:

种子在交叉领域问题上 st。

Just trying to get the XML response from the servlet call through POST method:

$.ajax({ type: "POST", url: "http://10.210.221.43:9081/shopsfinder/servlet/ ShopsFinderStoreServlet" //THIS DOESN T //url: "../ShopsFinderStoreServlet" //IT WORKS ..................

It works fine when we place the servlet at the same location where our application server is, with the relative path.

BUT we have to put the servlet somewhere else means [at some other location], due to some limitations.

Then it doesn t hit the servlet and we don t give any response back to the browser and it goes in error function as given:

                    error: function(XMLHttpRequest, textStatus, errorThrown) {
                            alert("errror XMLHttpRequest: " + XMLHttpRequest.responseXML + "textStatus: " + textStatus + "  errorThrown: " +errorThrown);
                            }

赋予全国人民代表大会的所有价值观,并在人民论坛获得例外。

我们是否为解决这一问题开展了任何工作?

Many thanks Mohammed Arif

问题回答

跨领域 由于安全原因,大多数浏览器最初残疾。 为了克服这一问题,你必须使跨域进入或执行Ajax Proxies。

由于某种原因,我们不得不使用代理。

但是,我们已经克服了这一问题,我们利用了解决跨领域问题的“开放湖空研中心”二字,现在一切工作都很出色。





相关问题
热门标签