Spring MVC:Form之外的参考模型字段?

时间:2015-11-09 15:40:09

标签: spring spring-mvc

是否可以在Spring MVC中引用模板/命令字段外部表单?我们遇到这种情况:

<div>
<!-- Need to get extraInfo from Model object here, before Form -->
Extra Info: ${model.extraInfo}
</div>

<!-- Form starts here -->
<form:form method="POST" commandName="model" action="/save">
..
</form:form>

0 个答案:

没有答案