looking at the documentation for the spring macros for freemarker they talk about the 'command' object... i am confused as to wha开发者_运维知识库t that is? at first i thought it is just the ModleMap set by the controller, but its obviously not. What is the "bind" actually used for?
The command object it's referring to is the form-backing object used by Spring MVC. If you want to use full form handling, I strongly suggest you go and read up on the rest of the Spring MVC documentation before tackling it.
However, you can safely ignore the form-handling stuff if you so choose, and just access the ModelMap
directly from your freemarker templates.
精彩评论