I want generate AJAX (based on jQuery) request to Spring MVC controller and return Collection with objects to jsp. I have two troubles: 1. AJAX success block doesn\'t work (som
This is not working , To use Ajax with Spring you should use respose body and not ModelView
@RequestMapping(value="/searchAlluserByQuery.do", method = RequestMethod.POST,headers="content-type=application/json")
@ResponseBody public List
Don't forget have jackson.jar on your class path and in view layer Jstl not working for ajax! you should use java script frame work such jquery to get Json object