aka to use type:'ajax' it needs to be a relative path in your url:



http://localhost:8080/RESTFulExample/rest/json/metallica/testingj

should be
...