Skip to content Skip to sidebar Skip to footer

Unable To Get List Into Ajax Response From Spring Mvc

Unable to get List into ajax response from Spring MVC getting 406 (Not Acceptable) but able to get String, here my code @ResponseStatus(value = HttpStatus.OK) @RequestMapping(valu

Solution 1:

Add the following bean to your configuration:

<bean id="jacksonConverter" class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter" />

Post a Comment for "Unable To Get List Into Ajax Response From Spring Mvc"