Spring Boot + Thymeleaf form validation error not displaying

12 Uncategorized Leave a Comment
Check these by these steps. Make sure BindingResult just follows up with the object variable @PostMapping("/save") public String save(@Valid Product product, BindingResult bindingResult, RedirectAttributes attributes) { // th:object = "${product}" } Here, it follows up producrt object. use @…