This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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