PDA

View Full Version : howto get jsonwriter work with struts2



atreeyang
15 Jul 2009, 7:22 AM
The EditGridPanel use the jsonwriter to update to server side.
However, it send the request as "data:{id:1,name:'aa'}"
But the struts's action need is data.id=1&data.name=aa.

So howto get them to work together?

atreeyang
15 Jul 2009, 3:29 PM
Use JSONObject