Spring MVC - 10. Validation

preview_player
Показать описание
Spring MVC - 10. Validation

Рекомендации по теме
Комментарии
Автор

Thank you Teddy for this serie. I am having a "Whitelabel Error Page" while testing the case where my fields are empty, I expected messages to be displayed on added p tags for the clubs-edit fragment. Any idea?

arnaudpoutieu
Автор

10:10 I'm a bit confused as to why you added model.addAttribute() on the /clubs/new post view but not on the /clubs/{clubId}/edit view in 5:24?

vaiterius
Автор

Please mine is working fine but returning a blank message instead of the errors help!

mostviewedtoks
Автор

Whati s the difference of objects Errors and BindingResult? They seem to serve the same purpose. I saw a code using Errors as a replacement for BindingResult

lunatichigh
Автор

why is the old data won't be deleted when i update the data?

pptihasnasalsabillaa.
Автор

Exception :Failed to convert value of type 'null' to required type 'long' .Hey Teddy its giviveig this exception when i change saveClub functions parameter from Club to ClubDto. Here club-create is sending null value to id in ClubDto . how can i fix this please help

santoshpoptani
Автор

I tried the same as you but BindingResult.hasErrors always return false ... help me.

tutruong