Tag Archives: jquyer

Java Servlet Send & Receive JSON Using jQuery.ajax()

This is a complete example showing how to send jQuery.Ajax() POST request containing data in JSON format to the server, and how to receive this JSON content, parse it and map it into Java objects in the server “servlet” side. Also, we will see how to send the list of all received data back to the client in JSON format and how the client can parse this data and display it.



  • How to send jQuery.ajax() POST request with data in JSON format?
  • How to receive JSON data in Java servlet, parse it and map it into Java objects?
  • How to send data back to the client in JSON format too?

Continue reading

Spring MVC + rest.js

This post is about building a RESTfull client using rest.js which belongs to cujo.js family.

If you want to build SPRING MVC REST application without using rest.js look at these posts


  • Build RESTfull HTTP “browser” client using rest.js! “it is interesting how javascript made it out of the browsers!”

Continue reading