Wow thank you so much for the video. I am doing a test for a job interview but they need me to create a web app that uses Spring and I was panicking because I've never used Spring before, I was using Thymeleaf in college. This has helped me get the basics and I know what I need to do from now onwards. Thank you 🙏🏾
Thank you so much brother i havent seen this much of easily explantion on any channel love you brother and thanks a lot for a great explantaion,, Please make more vedeos on interview questions. Once again thank you so much,........
We don't need to use component scan annotation right springbootapplication it self has the component scan.. And in controller package we can directly use @GetMapping("/login"), @PostMapping("/login") instead of writing request mapping and all.. Nice explanation.
I've created a new video where I'm using an entity class, though I have used Thymeleaf here but you can do the similar thing with JSP too. Please take a look. ruclips.net/video/kwnv8f6KzrE/видео.html
Thank you, Prashant for your video. You explained very well and easy. I hope you can keep up with this. However, please make sure you emphasize your package structure you have. I did not follow your package structure when running the app and I received a "White Label Error page". Please emphasize the package structure you have for other students so they don't experience the same thing. Thank you, Prashant !
I've made a course for your request. Please use this for free, have a look at below video to get more details. ruclips.net/video/KFHgI-YGm0E/видео.html
9:09 bro, I got two errors in the line 9, they are 1. "Syntax error, insert "EnumBody" to complete ClassBodyDeclarations" 2. "Syntax error, insert "enum identifier" to complete EnumHeader" Please help me to resolve these...
@@PrashantSharmaOfficial Sir please create video for simple banking web app using JSP + SPRING BOOT + HIBERNATE + MySQL or SQL + REST API. Thanks bro! 😁
Your teaching is amazing!! However, i have been having an issue that i cannot resolve when i run localhost:8080/login, it gives me this error: (i followed all the steps in your video but i dont know why its not working) Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. There was an unexpected error (type=Not Found, status=404). No message available ---------------------------------- Could you please guide me on how it can be fixed! THANK YOU AGAIN :D
Thanks for your words, it means a lot to me. I think there is something wrong with JSP, check your console logs on your IDE, it can pinpoint at which place you have the issue. Also, you can compare your code with the below repository. github.com/sprashantofficial/spring-jsp-demo
@@PrashantSharmaOfficial bro I tried using it but @Restcontroller didn't work in case we use it we manally need to configure servelts to use the jsp ..even i couldn't understand why it is
This code didn't work in IntellJ, until I made a WebCoconfiguration and implemted the WebMvcConfigurer. @Configuration public class WebConfiguration implements WebMvcConfigurer { @Bean public InternalResourceViewResolver viewResolver(){ InternalResourceViewResolver resolver = new InternalResourceViewResolver(); resolver.setPrefix("/WEB-INF/view/"); resolver.setPrefix(".jsp"); return resolver; } }
Wow thank you so much for the video. I am doing a test for a job interview but they need me to create a web app that uses Spring and I was panicking because I've never used Spring before, I was using Thymeleaf in college. This has helped me get the basics and I know what I need to do from now onwards. Thank you 🙏🏾
Most welcome!!
Thank you so much brother i havent seen this much of easily explantion on any channel love you brother and thanks a lot for a great explantaion,, Please make more vedeos on interview questions.
Once again thank you so much,........
Very good explanation, With no confusion. Thank you
Part-2: ruclips.net/video/Zvh4KHT1ulg/видео.html
This is such a clear video, I understood everything. Thank you!
Why my. jsp folder i am unable to type htlm code( it's not suggesting by typing) and after manual typing it's showing error in file.
We don't need to use component scan annotation right springbootapplication it self has the component scan.. And in controller package we can directly use @GetMapping("/login"), @PostMapping("/login") instead of writing request mapping and all.. Nice explanation.
Yess
Yes correct we don't need @Componentscan
hi,
why you added apachi tomcat jasper dependency..aleready embeded server is there in spring boot
thanks
Rajesh
Can you please explain the code attributes at runtime so that will get it clear and will go through revision completely... thank you
when we run the jsp file on browser it can not be seen on webpage its directly downloaded. so, what is reasons behind that??
this course is wonderful, thank you so much!
In spring boot project, in the jsp page,
Thanks, that was helpful. One suggestion: at 5:55 , a little more explanation about the change to scope provided would have been useful, I believe.
Good Content and is working perfectly
Thanku brother! for this this is very helpful for beginners
Thank you prashant for these amazing videos. You explained very well and in easy language.. 👍☺
Most welcome, stay tuned for more!!
Thank you very much for these videos. I hope you continue to share quality content!
That's the plan! Thank you for watching and stay tuned for more!!
Thanks man. Good job, keep it going
Why we're using this model.put(); can you explain me Prashanth
Whenever you want to send any data to your UI, we use model.put() just like what we did here.
In application properties /WEB-INF/jsp and .jsp is not in blue colour.. how to solve that
Hai prashant! Your validating without using any spring security right? Your just validating inside dat controller??
I'm not validating using Spring Security. There are more further parts to this video, please have a look at them.
hii bro, i have doubt on how to add backend DB connectivity. also how to write a entity class for that above you mentioned jsp project
I've created a new video where I'm using an entity class, though I have used Thymeleaf here but you can do the similar thing with JSP too. Please take a look.
ruclips.net/video/kwnv8f6KzrE/видео.html
@@PrashantSharmaOfficial yeah bro, I have checked that one now I am stuck in join query how to connect with more than one table in DAO Class
If it is not showing the output in local host then what we have to do sir
without any confusion u xpalined...clean way ....i m Gettting error ,when we run d program to get login page,can you please help me out
What is the issue exactly? Check if your jsp folder exist in src/main/webapp/WEB-INF.
@@PrashantSharmaOfficial output is like ... when i entered the local host in the url
white label error page ....
@@vagdevi3822 check enpoints
@@vagdevi3822 your http status code is 404 means check endpoints else.. there is internal error
@@proxy5061 thanku
Very helpful Video.Thank You Sir🙏🙏😊
Thanks so much brother, no need for 'sir'. Just stay tuned for more...
My code is not redirecting to home.jsp page or any other page. The output is always the return value of the GetMapping function.
Awesome Teaching😇
Helpful video
Tq
The page is not showing up for me only the string "Login"
Thank you, Prashant for your video. You explained very well and easy. I hope you can keep up with this. However, please make sure you emphasize your package structure you have. I did not follow your package structure when running the app and I received a "White Label Error page". Please emphasize the package structure you have for other students so they don't experience the same thing. Thank you, Prashant !
Sure thing, will do that. Stay tuned for more!!
You should fetch the login details from database to validate
Yep, that's a good point but here I wanted to do everything for beginners so that's why I took baby steps.
Thank you,very informative..can we build same application in java 11?
You are welcome, yes we can.
Perfectly easy peasy!! Thanks.
You are welcome! Stay tuned for more!
Thank you so much
super sir...pls upload more videos on spring boot jsp thymeleaf and microservices
Sure thing, stay tuned for more!!
thanks a lot brother.
Nice explanation, please make more videos on spring boot
Thanks a lot, stay tuned for more!!
Hi sir ,Sir please make a login using spring security based in roles with UI and driver
Thanks for this great video. Can you please make video on Spring boot+ jsp +js to show an example of CRUD application.
I've made a course for your request. Please use this for free, have a look at below video to get more details.
ruclips.net/video/KFHgI-YGm0E/видео.html
9:09 bro, I got two errors in the line 9, they are
1. "Syntax error, insert "EnumBody"
to complete ClassBodyDeclarations"
2. "Syntax error, insert "enum
identifier" to complete EnumHeader"
Please help me to resolve these...
you're amazing! subbed!
Thanks a lot! Stay tuned for more!!
@@PrashantSharmaOfficial Sir please create video for simple banking web app using JSP + SPRING BOOT + HIBERNATE + MySQL or SQL + REST API. Thanks bro! 😁
i got an error required parameter "userId" is not present
plss upload... instagram login page using spring boot
Thank you so much 🙏🙏
Most welcome!
Iam getting "Whitelabel Error Page" pls anyone tell me how to solve it
Please check your dependencies and versions. It should be what I have used or you have to do some modifications to make it work.
Getting white label error
Also compared with your code
I can't figure out error😢
Bro you're good
Thanks brother!
Your teaching is amazing!! However, i have been having an issue that i cannot resolve when i run localhost:8080/login, it gives me this error: (i followed all the steps in your video but i dont know why its not working)
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
There was an unexpected error (type=Not Found, status=404).
No message available
----------------------------------
Could you please guide me on how it can be fixed! THANK YOU AGAIN :D
Thanks for your words, it means a lot to me. I think there is something wrong with JSP, check your console logs on your IDE, it can pinpoint at which place you have the issue. Also, you can compare your code with the below repository.
github.com/sprashantofficial/spring-jsp-demo
I also got same error
did u got the solution because I'm also getting same error
5:30 hi bro, how did you adjust the code in correct margin?
Ctrl + Shift + F for windows, not sure about others.
@@PrashantSharmaOfficial mine is windows 10 bro
@@PrashantSharmaOfficial ok bro, tq, I'll try it.
A humble suggestion: Be a little bit energetic and elaborative in your presentation
haha sure. It was almost 3am at night when I recorded this video, so couldn't be more energetic. But, will try to be more elaborative in future.
Hi sir , we need on this forgot password and logout , can you please help me in another video ..Thank you ☺️
Saviour
Verry useful thanks
Welcome 😊
guys guys guys please don't use @Restcontroller in place of @Controller in the controller class
It should be okay if you use any of these two annotations.
@@PrashantSharmaOfficial bro I tried using it but @Restcontroller didn't work in case we use it we manally need to configure servelts to use the jsp ..even i couldn't understand why it is
This code didn't work in IntellJ, until I made a WebCoconfiguration and implemted the WebMvcConfigurer.
@Configuration
public class WebConfiguration implements WebMvcConfigurer {
@Bean
public InternalResourceViewResolver viewResolver(){
InternalResourceViewResolver resolver = new InternalResourceViewResolver();
resolver.setPrefix("/WEB-INF/view/");
resolver.setPrefix(".jsp");
return resolver;
}
}
This shouldn't happen as the code written is not particular to any IDE. Only requirement is you should be using Maven and Spring Boot, that's it.
It doesnt send me to the login.jsp page. I get the message: [/WEB-INF/jsp/login.jsp] not found.
Please check your project structure and application.properties once. See if both of them are exactly like in the video.
Hi , did u solved ur error
@@vagdevi3822 Hi, no I still receive the same message: "JSP file [/WEB-INF/jsp/login.jsp] not found" but I went farther with thymeleaf
Still i didn't resolve that problem
@@isaacfrankental4040 put the jasper dependency in pom.xml and "load maven changes". Worked for me