I'm having problems executing the call back function.
$.post("/" + contentId + "/postComment", {
"postComment": ""
}, function(data) {
alert('call back');
});
This post does take place. The alert is not called, however.
This post results in some xml
returned. I can't tell exactly how it looks because I'm using Spring mappings of application/xml
together with @RequestBody
and I just don't know what Spring does to what I'm returning. I'm saying this just in case the contents of server response can affect the call back somehow.
The question is: