Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring 3 and json

 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new at spring 3 and I'm trying to do a data transfer from view to controller and vice versa using json. can anybody point me to a step-by-step-tutorial link? or even better, can anybody give me an example where view send data to be saved in server and server send data back to view using json? thanks
 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
 
abani patra
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You can send data from server to jsp using ModelAndView object .
Then in JSP you can use jstl and json tag to create the json object.
for using json and jstl tag you have to use the realted jar in library.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic