| Author |
What does Model Attribute Mean in a Spring specified form tag
|
Vishal Hegde
Ranch Hand
Joined: Aug 01, 2009
Posts: 972
|
|
What does Model Attribute Mean in a Spring specified form tag
<form:form id="newBGCExcForm" name="bgcExc" modelAttribute="bgcExc">
|
http://www.lifesbizzare.blogspot.com || OCJP:81%
|
 |
Bill Gorder
Bartender
Joined: Mar 07, 2010
Posts: 1282
|
|
Did you see my response to your other question here?
http://www.coderanch.com/t/590718/Spring/does-commandName-mean-Spring
I addressed this question there as well.
|
[How To Ask Questions][Read before you PM me]
|
 |
Ashwin Sridhar
Ranch Hand
Joined: Jul 09, 2011
Posts: 272
|
|
|
This specifies the Object name that is mapped in the controller. By default it is "command" . When you return a ModelView Object from controller, form and pojo objects are matched based on this attribute name.
|
Ashwin Sridhar
SCJP | SCWCD | OCA
|
 |
 |
|
|
subject: What does Model Attribute Mean in a Spring specified form tag
|
|
|