Forms Made SIMPLE: How to Use Forms in Spring Boot (No JavaScript)

Published: 27 March 2023
on channel: Devtiro
2,287
72

In this tutorial I show you how to submit forms using HTML and Spring Boot, with a little CSS for styling.

We're not using JavaScript in this one to demonstrate the simplest way I know to collect data using forms in Spring Boot.

Links
🔗 Source Code: https://github.com/devtiro/spring-boo...
🔗 @RequestBody Docs: https://docs.spring.io/spring-framewo...
🔗@ModelAttribute Docs: https://docs.spring.io/spring-framewo...

Connect With Devtiro
🌐 Website: https://www.devtiro.com
🐥 Twitter:   / devtiro  
📸 Instagram:   / devtiro  

Timestamps
0:00 Intro
0:16 Project Overview
2:00 Implement Contact Endpoint
4:18 Test Form Redirect
4:55 Access Data as a Map
5:52 Test Access Data as Map
6:26 Access Data as an Object
8:11 Test Access Data as an Object
8:58 Validation
9:57 Test Form Validation
10:40 Handle BindException
23:37 Next Up


On this page of the site you can watch the video online Forms Made SIMPLE: How to Use Forms in Spring Boot (No JavaScript) with a duration of hours minute second in good quality, which was uploaded by the user Devtiro 27 March 2023, share the link with friends and acquaintances, this video has already been watched 2,287 times on youtube and it was liked by 72 viewers. Enjoy your viewing!