wood burning stoves
The moose likes Struts and the fly likes Get json data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Get json data" Watch "Get json data" New topic

Get json data

nuwan wickramanayaka

Joined: Sep 06, 2012
Posts: 5
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

Joined: May 05, 2010
Posts: 213

Why are you submitting the form using JSON instead of just submitting the form?
I agree. Here's the link: http://aspose.com/file-tools
subject: Get json data
It's not a secret anymore!