summaryrefslogtreecommitdiff
path: root/spring-boot/06-form-handling-with-thymeleaf/src
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-06-06 20:14:54 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-06-06 20:14:54 +0530
commit3d3d8fb1e2937fbc05cfd867098fbf873ff6897c (patch)
tree1c787a5a9f888bf854d16dede503e45a5b79e747 /spring-boot/06-form-handling-with-thymeleaf/src
parentb021d021fb29200897e230680275b5216349e451 (diff)
ContractController minor update
Diffstat (limited to 'spring-boot/06-form-handling-with-thymeleaf/src')
-rw-r--r--spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java b/spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java
index 1a61a39..20c482d 100644
--- a/spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java
+++ b/spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java
@@ -28,8 +28,6 @@ public class ContactController {
// Do whatever needed with the submitted data here.
// For example, invoke a method in a service/componet bean to send an email to contact person.
- model.addAttribute("contactForm", contactForm);
-
return "contact/result";
}