Tiles is not passing form:errors to jsp in spring mvc
So apparently when going through tiles view resolver the binding result gets lost and doesnt work in spring mvc.
e.g. even though (result.hasErrors()>0), the error objects are not passed to the model when going through tiles. Is this a know bug i开发者_开发知识库n tiles/spring?
I'm using it and it works fine. Just ensure that your form:errors tag is under your form:form tag or if not ensure that they use the same "commandName" as your BindingResult object (and use spring tag in your tiles view).
精彩评论