springboot | springboot with html | html user form | user input | springboot and html | okay java
Vložit
- čas přidán 15. 12. 2021
- springboot | springboot with html | html user form | user input | springboot and html | okay java
download the source code
gitlab.com/okay-java/springbo...
spring boot thymeleaf has very complex kinda yet delicate syntax thats why u people often get error i salute this man he has made perfect beginner video
Very good example my friend. ⭐⭐⭐⭐⭐
This application has no explicit mapping for /error , so you are seeing this as a fallback
when submitting I am getting directed to an error screen and the form data is not printing in the console.
great video
Great video thank you so much 😊❤
Perfection
Thank you!!
thanks bhai .. it to the point .
It gives error the error "Whitelabel Error Page". The difference I made in my code is the content of the index file. I simply used a hello world code for index file intead.
same
@@igorjacko4128 Thank you for your comment. My problem is almost solved. But CSS page is not worked. :)
When I got this error my issue was that I didn't make a "templates" folder to put the index.html file in.
@@hannahb5210 you are using the spring intializr to download you dependencies like lombok,spring web, dev tools etc then you will import it on your springboot IDE. src/main/resources here you will got the template directory. try this
Just prints "index".
For the whitelabel error I changed Controller for RestController, and copied thymeleaf to the pom, but it just says index.
And when I write "/register" the white label error apears again.
Is there a configuration you didn't show that tells the app to call the templates package?
It prints "index" because you changed Controller to RestControlle, Rest API sends you information in JSON format (which means change back). And if you don't place your index.html or welcome.html in the resource/template (maybe you need to create it), you will get a Whitelabel page. Because the template engine is trying to find your .html in this path.
I am recieving an error 404
place your html file in static folder
run as web browser is not displayed, when I click on the html page, instead of that it is showing run as configuration
in your code suffix prefix are not written sir, i am trying from my side i am getting error
Good explaination broo instead using bootStrap thymleaf you used just html and that was good for beginers without any confusion you explained clearly keep going on broo
A decent video bro. Instead of using bait, be confident in your skills
Html is not showing
please help not getting the html page, it just prints index on screen
yes
For me it was missing the "spring-boot-starter-thymeleaf" dependency on pom.xml file
I had the annotation @RestController instead of @Controller. When I put controller, it worked
3lach dayer photo dyal bent fel profile
bro how to add background img of this html file.
Why is your youtube channel logo of a female???
왜 다크모드 안쓰지 찐광기인가
I need next part
all about H2
czcams.com/video/uoXM82FrYBs/video.html
czcams.com/video/msj3kLOLC4Q/video.html
@@okayjava I watched your video, I'm using PostgreSQL, and it's work for me, Thanks for the video
Recommend: Make service class maintain MVC, want delete row by id, want update by id
sure, will do that.
pls watch czcams.com/video/vc2S3oZmUc8/video.html.thank you