Monthly Archives: August 2014

Spring MVC: Return a JSON object

In a Spring MVC project, we can directly return a JSON object. This feature is very useful when combined with ajax request from the client side. Here is few simple step to do this: Import JSON dependencies (jackson library) to … Continue reading

Posted in Java, Spring | Leave a comment

Spring MVC: Creating a Project from Scratch using Maven

If you don’t want to use Spring STS to create your Spring MVC project, you can, of course, create it from the scratch. And here is what we will need to do: Create a java web project using maven Test … Continue reading

Posted in Java | 1 Comment