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

preview_player
Показать описание
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.

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

Hey Brandan, tx for the video. I 'm kinda confused: /saveSpecimen is a GET request?

twanus
visit shbcf.ru