I\'m trying to get a list of Cities by sending the State name through Ajax in my SpringMVC 3.0 project. For the purpose, I\'ve used the following call (using jQuery) in my JSP:
Using jQuery , you can set contentType to desired one (application/json; charset=UTF-8' here) and set same header at server side.
REMEMBER TO CLEAR CACHE WHILE TESTING.