Difference between modelAttribute and commandName attributes in form tag in spring?

后端 未结 5 1741
迷失自我
迷失自我 2020-12-07 10:42

In Spring 3, I have seen two different attribute in form tag in jsp


in this the

5条回答
  •  太阳男子
    2020-12-07 11:16

    commandName = name of a variable in the request scope or session scope that contains the information about this form,or this is model for this view. Tt should be a been.

提交回复
热议问题