Hi I'm using jquery 1.3.2 with firefox 3 and IE 6+. The problem I'm facing is with a call like: $("#send").click(function() { $.ajax({ url: "http://localhost:8080/SampleRedirect/api/sample.xml", type: "GET", dataType: "xml", cache: false, success: function (message) { alert("SUCCESS " + message.xml); }, error: function (xhr, status) { alert("ERROR" + status); } }); });
The request is handled on tomcat with a Java EE filter that redirects to a different server (same host but different port http://localhost:8081/SampleRedirect/api/sample.xml). 1) On IE the call returns on "success" with the requested file accessible through the variable "message". 2) On Firefox the call returns on "error" with the error code "302" redirect. I need to do the redirection to invoke a server side component that can't be access directly from the front-end application server due to cross-domain limitation. How can I solve the problem on Firefox? Any help is really appreciated. Thanks Andrea