This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Get json data  RSS feed

 
nuwan wickramanayaka
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing change password screen using jquery / struts2 with annotations
Which contains fields oldpassword, new password, confirmpassword

This is my html with jquery



This is my changepassword java script



This is my struts 2 action class



When i click save button of chnagepassword html the save method of java script is executing and 'dat' varitable popolated with data.

So what i want is, how to get the json object data in java side?

help me

 
Richard Golebiowski
Ranch Hand
Posts: 213
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you submitting the form using JSON instead of just submitting the form?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!