Sending request to action using Ajax, the result type is json. Use a json plugin for struts2. The result is correct, but takes a very long time.
I have a struts2 action with a json result type that is currently working. I was able to successfully add a static \"wrapPrefix\" as well:
Setup: mysql> create table t(a integer unsigned,b integer unsigned); mysql> insert into t(a,b) values (1,2),(1,3),(2,4);