I am working on Spring MVC project. I am using Hibernate. I want to use AJAX with jQuery to get some JSONs from my Spring Controllers. Unfortunately when I was implementing
Though pretty old to answer, I guess by just creating a DTO for Message with String fields would solve the purpose.