Rate this:

Share this:

Like this:

Related

Hi your tutorial was helpful in solving an issue I was having with my controller, thank you. However, I did find a few errors in your code blocks which slowed me down.

There is an extra } after your ajax post. Also the configuration code block does not have a for the second bean and the <ref bean=“jacksonMessageConverter” /> portion is not correct. is what worked for me.

This is awesome, thank you! Before, I tried a different solution which involves an additional class that extends ArrayList because many comments on stackoverflow said this would be the only way to accomplish sth. like:

createPerson(@RequestBody List persons){

Didn’t think that the simple solution is to *not* use List interface, but a simple Array. For further processing, I create my desired list out of the array via