Back to Browse

Populate a Java object from HTML with Thymeleaf in Spring Boot; send DTO to Service

5.6K views
Oct 6, 2020
8:42

Create an HTML form to collect data from a user. Using Thymeleaf attributes inside a form tag, I can create and populate an object from that HTML form. Then, I pass the object to the service and dao layers. I show that the object was added, then set a breakpoint, and walk through the entire process in the IntelliJ IDEA debugger. Source code is freely available on GitHub: https://github.com/discospiff/SpringBootMicroservicesWithIntelliJIDEA This video is part of a playlist on Microservices and Spring Boot with IntelliJ IDEA: https://www.youtube.com/watch?v=6vvUevxlOp8&list=PL73qvSDlAVVhr2V85gxReq9PUptNaVI9M

Download

0 formats

No download links available.

Populate a Java object from HTML with Thymeleaf in Spring Boot; send DTO to Service | NatokHD