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


Watch video Forms Made SIMPLE: How to Use Forms in Spring Boot (No JavaScript) online without registration, duration hours minute second in high quality. This video was added by user Devtiro 27 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,287 once and liked it 72 people.