Forms Made SIMPLE: How to Use Forms in Spring Boot (No JavaScript)
Vložit
- čas přidán 26. 07. 2024
- 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: github.com/devtiro/spring-boo...
🔗 @RequestBody Docs: docs.spring.io/spring-framewo...
🔗@ModelAttribute Docs: docs.spring.io/spring-framewo...
Connect With Devtiro
🌐 Website: 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
It was very helpful.Keep going sir
Simple and clear
Great!!! Keep doing your good work!!
Thank you! I'll do my best 💪
best content for springboot on entire youtube
That means a lot! Thank you so much 🙏
I always love your content.
I'm glad to have you with us 🫡
You code did not work the first but the very next day it worked. I don't know why; I suspect that my form page was being cached without my knowledge. Do you have any videos on Spring Boot MVC applications with a real database like Postgres or MySQL?
Could you make a video on how we should do spring boot testing. And the types of testing we should do.
I love this! Absolutely. I'll add it to the backlog 🫡
@@devtiro Please make video on how to improve the spring boot application while reading from message queue like active mq