Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get json data

 
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