java - jsp characters can be automatically filled in to user, but not to author. Why?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-17 10:08:34
0
3
461

Some fields in user and author are the same.
When submitted from jsp, why can't it be automatically filled in to author?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(3)
刘奇

Some fields are the same. Assign the value yourself in Controller 里面 new 一个 author

我想大声告诉你

The name attribute of the form submitted by jsp is available to both user and author, and both user and author can receive it. . .

小葫芦

Data binding only supports binding to one object. You can package user and author into one object for transmission.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template