Some fields in user and author are the same.
When submitted from jsp, why can't it be automatically filled in to author?
怪我咯2017-05-17 10:10:34
Some fields are the same. Assign the value yourself in Controller
里面 new
一个 author
我想大声告诉你2017-05-17 10:10:34
The name attribute of the form submitted by jsp is available to both user and author, and both user and author can receive it. . .
高洛峰2017-05-17 10:10:34
Data binding only supports binding to one object. You can package user and author into one object for transmission.