Spring usage of typeMismatch messages

后端 未结 1 1566
失恋的感觉
失恋的感觉 2020-12-16 23:40

I have done some searches on the web and in stackoverflow to see how to handle the following message that I get on one of my screens:

Failed to conver

相关标签:
1条回答
  • 2020-12-16 23:49

    Perhaps error.code doesn't guarantee to return the most specific message code. Try to pass error message as a whole:

    <spring:message message = "${error}" />   
    
    0 讨论(0)
提交回复
热议问题