阅读背景:

视图层如何显示验证消息提示

来源:互联网 

其实只要在form表单中的input标签下,写

 <p th:if="${#fields.hasErrors('变量名')}" th:errors="*{变量名}"></p> <p th:if="${#fields.h




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: