Sling servlet blocked on rde but working on local
hi all,
need little help with this issue - my sling servlet is working correctly on local but throwing blocked error on rde.
my local is also an SDK with same version as rde hence should not have been an issue.
my sling servlet is capturing data from couple of fields and sending it to servlet.
the ajax call is written as below -
$.ajax({
type: "GET",
url: "/bin/ACL/lookup.json",
data: {
cgn: cgn.toString(),
cgi: cgi.toString(),
name: name
},
success: function(resp) {
console.log("Response is " + JSON.stringify(resp));
location.reload(true);
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
alert("Status: " + textStatus);
alert("Error: " + errorThrown);
}
});
the data object is valid and forming correctly. the success function is not executing ofcourse and the error function is just displaying pop up with Status: Error
the servlet is registered by path and in the logs there are loggers for the get method but they are not being logged on rde.