I\'m trying to display a list of global validation errors in my freemarker template if a controller returns binding errors. I can display errors that are associated with a f
You can write as follows:
<#if spring.status.error> <#list spring.status.errors.globalErrors as error> ${error.defaultMessage} #list> #if>
More info at BindStatus and Errors classes.