This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

spring 3 and json  RSS feed

 
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
Boost this thread!