Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to receive json data in request

 
Randy Meyer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using Struts 2 with Extjs 4.x using the MVC pattern. I have had good success so far but I am currently stuck. I cannot figure out how to define my variable in my action class so it is populated on a request. This is the request payload from the client as seen in the Chrome Network debugger:



Here is the action class variable


This is the struts xml entry:


I hit the correct method in the action class but my variable is not set. I read this json plugin but cannot figure it out.

Thank you for any help.
-Randy
 
Randy Meyer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

Does anyone have any ideas here? Really appreciate any help.

thank you
-Randy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic