Build Your Webpage With Spring Boot and Thymeleaf in Less Than 20 Minutes
Вставка
- Опубліковано 3 лип 2024
- In this video you will find how to build a webpage with Spring Boot and Thymeleaf in less than 20 minutes. I will describe the main syntax of Thymeleaf to be able to build any server-side rendering webpage.
This video is part of a playlist where I show how to create a Spring Boot Backend, how to create a website step by step: • Spring Boot
I will show:
* how to use variables in the templates;
* how to iterate with for loops;
* how do if-conditions work with Thymeleaf;
* how to use and include Fragments;
* how to display the webpage in different languages with the internationalization.
My NEW eBook: sergiolema.dev/git-book/
Blog: bit.ly/47ornJL
LinkedIn: bit.ly/41Nn61q
Facebook: bit.ly/47rc9nh
My Desktop:
• Laptop: Macbook Pro 16' 2019
• Gaming Chair: amzn.to/47Vu6ed
• Mouse: amzn.to/3HoBwM1
• Desk: amzn.to/48Tc5Oi
• Screen: amzn.to/48VZkCL - Наука та технологія
Great content as always Sergio!!! Gratitudes for your contribution.
Merci Arnaud!
Excellent video Sergio!
Gracias Carlos!
Thanks very much sir,
I have been following your content for some time and I really like the way to explain things/concepts.
Great job🙌
Thank you Rohit for following!
I'm so glad you like my content!
Nice video. very comprehensive.
Thank you!
Well done , nice and simple and well explained
Thank you Conor!
Good Job man
Thank you Hasan!
Hi jawman, I am preferring thymeleaf for my personal project over fromtend frameworks, because those frameworks are extra pain.
I would request you to please make a playlist for AWS tools,
I have checked but found just 3 videos regarding deployments on AWS but yes they were quite explanatory.
At the moment, I only have those videos: ua-cam.com/play/PLab_if3UBk99TlX80Xv0GTImsVqJF4gt1.html
But I'm planning to create some more about AWS services.
Hey, can you give information about java certification exam OCJP about it's scope means it really become helpful nowadays to getting job.
Never tried this certification. I'll take a look.
How do you display currency in thymeleaf and speing boot? For example, if you have .
What about this as well?
Price:
Do you mean displaying "39.50 $" (with the dollar sign)?
Or do you mean displaying with decimals and two digits?
@@TheDevWorldbySergioLema as whole number. Like this £39. Thank you in advance
This should be done with the internationalization.
As some prices are displayed with $, others with £ and others with €.
Some have the monetary information before, and other after. Some are displayed with command and other with dot.
you are returning string index at controller , how it's not returning string index instead it is returning index file?
Because the controller returns a view. With the annotation Controller, Spring Boot looks for a file named "index" (in this case) to return. Because the annotation Controller uses the MVC architecture (Model-View-Controller).
If I use the annotation RestController, Spring Boot returns the text in JSON format.
Oo, thank you!