First, the foreground to pass different classes of different objects
1, the attribute name is different, can be directly encapsulated into the controller method of the object parameters (validated)
2, the property name is duplicated, you can set a value type in the repeating class, and then go back to assigning value type value to the instance variable (validated)
Two, the same class multiple objects collection
Method 1, JSON mode
Method 2, create a new class in which the property is a collection of repeating object classes
Method 3, multiple objects in the foreground JSP input control, the name value is what is, directly in the form form submission or AJAX submission. In the background controller method parameter, do not take these name corresponding parameters, directly use Request.getparametervalues (""), fetch, get to the string array, traverse and encapsulate into the object.
Welcome to add my QQ technology Group 425783133