0

我收到了这个错误

 $.ajax({
           url:    '${searchPatientFileURL}',
           data:    data,
success: function(oResults)
            {

               console.log("Results:...->"+oResults);
               oResults.sort(function(a, b){
                  return a.lastname.toLowerCase() > b.lastname.toLowerCase() ? 
                  1 : a.lastname.toLowerCase() < b.lastname.toLowerCase() ? -1 : 0;
               });
});

我不知道它为什么会发生。请问有人可以帮我解决我的问题吗?

4

1 回答 1

0

For me the your URL dosen't look fine. Looks like you are using the JSP expression language for the url, which you cannot do from the client browser.

If this is the case you are using wrong URL so U can't get the correct response.

于 2013-05-22T09:26:22.233 回答