Spring's Json not being resolved with appropriate response?

Get rid of all Jackson beans, and of the json mapping in the negotiating resolver. The mvc:annotation-driven should configure everything you need for the Jackson serialization to work.

Sending the Accept: application/xml header does not work. But sending Accept: application/json actually works, and jackson mapper kicks in. I got rid of my 406 and got my serialized java object in json format with no more config than @ResponseBody and return new MyObject() :) Thanks skaffman for this information, and thanks Bozho for the working header value :D.

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