Struts2 Action being called twice if result type is json

后端 未结 1 1508
执念已碎
执念已碎 2021-02-15 19:18

I have an Action class with 4 action methods. All four action action methods use a json result.

Via logging statements and debugging, I have verified that if I call ac

相关标签:
1条回答
  • 2021-02-15 20:13

    JSON plugin may be calling all your methods that start with "get" in an attempt to serialize them for output. Try renaming your methods to something else.

    0 讨论(0)
提交回复
热议问题