0
我想使用Spring Boot MVC和Freemarker一起使用,并以类似的方式显示表单以及如何使用JSP标签完成。例如。这种形式:带Freemarker的Spring Boot - 表单标签
<form:form method="post" action="save" modelAttribute="form" class="form-horizontal">
<form:hidden path="id"/>
<div class="form-group">
<label for="name" class="col-sm-2 control-label">Name</label>
<div class="col-sm-10">
<form:input id="name" path="name" class="form-control" />
</div>
</div>
</form:form>
自然,标签形式:form,form:input,form:hidden等不被支持。有没有办法将模型绑定到Freemarker中的视图?
你读过[参考指南](http://docs.spring.io/spring/docs/current/spring-framework-reference/ HTML/view.html#视图-速度)? –
不高兴的评论不赞赏.... thanx – checklist
如何做到这一点已经在我参考的部分参考指南中解释。在提问之前,您可能需要阅读官方文档。 –