struts2 and ajax, there are two forms to pass data to the background on the page
Passing data from the foreground to the background
* form form
$("form").serialize(); In this way, the data in the form can be submitted, and the background can be directly obtained
* In the js code, a js format object is formed, which is to be passed to the background
Call back data from the background to the foreground
In the query of the associated object, the associated object is generally not loaded, and @JSON(serialize=false) is written on the get method of the object.