i am using spring ,Jquery .The problem is i am using jquery ajax call to call one controller method and trying to access the values form the response object in the success function but i can see the response in fire bug but not able ti access the response object
Here is my ajax code
Here is my controller code
Here APIConstants.RESPONSE_ATTR) is constant with value "response".
Now i the response i am seeing in the fire bug looks like this
Right well that was hard coded for illustration purposes only. In your example you had a response object, it would be the same result, the number of elements in the JSON array is really not relevant. Because you returned a simple string array as json it looks a little different than the key value pair json that is typically seen. If click that jfiddle link and play around I think you will find its the value that you want.