Does struts2 have a way similar to the SpringMVC annotation @ requiestBody to receive the corresponding json data?

struts2 used to submit data in the form of form forms

Mar.19,2021

as far as I know, struts2 doesn't need to pass parameters like this.
struts2 generally defines global variables in action to accept the parameters passed by the foreground. (remember to give the get,set method)


there happens to be a description of the relevant plug-ins for json processing on the official website. You can refer to the

shared by netizens on the official website and blog Garden.
  1. JSON plugin official website
  2. blog Garden
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37bfa-2b836.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37bfa-2b836.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?