How to get a JSON object and map it into object in spring 3.0 controller using POST method?

You can do this using Spring's RequestBody annotation, e.g.

You can do this using Spring's @RequestBody annotation, e.g. @ResponseBody public Map handleJsonPost(@RequestBody Map requestJson) { ... return responseJson; } This will also send the return value back as JSON. You'll also need to include the Jackson library in your application's classpath, and add to your context (see docs).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions