1/5 | Simple Login/Sign-in using Spring Boot | REST | JSP | Java | Web App Development | Scratch

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024

Комментарии • 103

  • @athekosihlubi6133
    @athekosihlubi6133 Год назад +1

    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 🙏🏾

  • @rachamallidorasrivignesh4499
    @rachamallidorasrivignesh4499 3 месяца назад +2

    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,........

  • @srijanshukla1196
    @srijanshukla1196 Год назад +2

    Very good explanation, With no confusion. Thank you

  • @PrashantSharmaOfficial
    @PrashantSharmaOfficial  3 года назад

    Part-2: ruclips.net/video/Zvh4KHT1ulg/видео.html

  • @anjanajayan5140
    @anjanajayan5140 Год назад +2

    This is such a clear video, I understood everything. Thank you!

  • @SiwanMelodies
    @SiwanMelodies Год назад +1

    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.

  • @itsmesravs
    @itsmesravs Год назад +8

    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.

  • @rajeshcr9800
    @rajeshcr9800 Год назад

    hi,
    why you added apachi tomcat jasper dependency..aleready embeded server is there in spring boot
    thanks
    Rajesh

  • @pintu_patil
    @pintu_patil Год назад

    Can you please explain the code attributes at runtime so that will get it clear and will go through revision completely... thank you

  • @PriyankaChaudhari-v8o
    @PriyankaChaudhari-v8o Год назад

    when we run the jsp file on browser it can not be seen on webpage its directly downloaded. so, what is reasons behind that??

  • @holy_Image
    @holy_Image Год назад +2

    this course is wonderful, thank you so much!

  • @manoj8592
    @manoj8592 Год назад

    In spring boot project, in the jsp page,

  • @SP30305ATL
    @SP30305ATL Год назад +1

    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.

  • @nikhilnikesh7672
    @nikhilnikesh7672 Год назад +1

    Good Content and is working perfectly

  • @aashutoshshrivastava6596
    @aashutoshshrivastava6596 Год назад +1

    Thanku brother! for this this is very helpful for beginners

  • @shikhapriya4445
    @shikhapriya4445 2 года назад +1

    Thank you prashant for these amazing videos. You explained very well and in easy language.. 👍☺

  • @algorithmcppjava
    @algorithmcppjava 2 года назад +2

    Thank you very much for these videos. I hope you continue to share quality content!

  • @orlinivanov7540
    @orlinivanov7540 Год назад +1

    Thanks man. Good job, keep it going

  • @Anillkumargallipelli7219
    @Anillkumargallipelli7219 Год назад +1

    Why we're using this model.put(); can you explain me Prashanth

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  Год назад

      Whenever you want to send any data to your UI, we use model.put() just like what we did here.

  • @ryuk06
    @ryuk06 Год назад

    In application properties /WEB-INF/jsp and .jsp is not in blue colour.. how to solve that

  • @proxy5061
    @proxy5061 3 года назад +1

    Hai prashant! Your validating without using any spring security right? Your just validating inside dat controller??

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  2 года назад

      I'm not validating using Spring Security. There are more further parts to this video, please have a look at them.

  • @NareshKumar-od6yc
    @NareshKumar-od6yc 2 года назад +1

    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

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  2 года назад +1

      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

    • @NareshKumar-od6yc
      @NareshKumar-od6yc 2 года назад

      @@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

  • @sweetyswathy22
    @sweetyswathy22 Год назад

    If it is not showing the output in local host then what we have to do sir

  • @vagdevi3822
    @vagdevi3822 3 года назад +1

    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

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  3 года назад

      What is the issue exactly? Check if your jsp folder exist in src/main/webapp/WEB-INF.

    • @vagdevi3822
      @vagdevi3822 3 года назад

      @@PrashantSharmaOfficial output is like ... when i entered the local host in the url
      white label error page ....

    • @proxy5061
      @proxy5061 3 года назад

      @@vagdevi3822 check enpoints

    • @proxy5061
      @proxy5061 3 года назад

      @@vagdevi3822 your http status code is 404 means check endpoints else.. there is internal error

    • @vagdevi3822
      @vagdevi3822 3 года назад

      @@proxy5061 thanku

  • @rahulpise1445
    @rahulpise1445 2 года назад +1

    Very helpful Video.Thank You Sir🙏🙏😊

  • @vyshakkriss7765
    @vyshakkriss7765 Год назад

    My code is not redirecting to home.jsp page or any other page. The output is always the return value of the GetMapping function.

  • @shanpieowesley4478
    @shanpieowesley4478 Год назад

    Awesome Teaching😇

  • @lakshmidevilakshmidevi3984
    @lakshmidevilakshmidevi3984 Год назад +1

    Helpful video
    Tq

  • @sunpreetsandhu6464
    @sunpreetsandhu6464 Год назад

    The page is not showing up for me only the string "Login"

  • @ED-ih8lr
    @ED-ih8lr 3 года назад +1

    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 !

  • @harshda3516
    @harshda3516 2 месяца назад

    You should fetch the login details from database to validate

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  2 месяца назад

      Yep, that's a good point but here I wanted to do everything for beginners so that's why I took baby steps.

  • @RV-Royal-Vantari
    @RV-Royal-Vantari 2 года назад +1

    Thank you,very informative..can we build same application in java 11?

  • @trapmusic9014
    @trapmusic9014 2 года назад +1

    Perfectly easy peasy!! Thanks.

  • @sanjuktamozumdar2471
    @sanjuktamozumdar2471 Год назад +1

    Thank you so much

  • @tanveerhussain1782
    @tanveerhussain1782 3 года назад +1

    super sir...pls upload more videos on spring boot jsp thymeleaf and microservices

  • @kabilankabil3486
    @kabilankabil3486 Год назад +1

    thanks a lot brother.

  • @deoshaw4682
    @deoshaw4682 3 года назад +1

    Nice explanation, please make more videos on spring boot

  • @world4376
    @world4376 2 года назад +1

    Hi sir ,Sir please make a login using spring security based in roles with UI and driver

  • @dhananjaykumarpal1604
    @dhananjaykumarpal1604 3 года назад +1

    Thanks for this great video. Can you please make video on Spring boot+ jsp +js to show an example of CRUD application.

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  2 года назад

      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

  • @yeshwanth2419
    @yeshwanth2419 2 года назад

    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...

  • @jaymarkalvarez9851
    @jaymarkalvarez9851 2 года назад +1

    you're amazing! subbed!

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  2 года назад +1

      Thanks a lot! Stay tuned for more!!

    • @jaymarkalvarez9851
      @jaymarkalvarez9851 2 года назад

      @@PrashantSharmaOfficial Sir please create video for simple banking web app using JSP + SPRING BOOT + HIBERNATE + MySQL or SQL + REST API. Thanks bro! 😁

  • @sunilpabba3863
    @sunilpabba3863 Год назад

    i got an error required parameter "userId" is not present

  • @PradeepPradeep-qu4pn
    @PradeepPradeep-qu4pn 6 месяцев назад +1

    plss upload... instagram login page using spring boot

  • @geetasrivastava4364
    @geetasrivastava4364 Год назад +1

    Thank you so much 🙏🙏

  • @asha9439
    @asha9439 11 месяцев назад

    Iam getting "Whitelabel Error Page" pls anyone tell me how to solve it

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  11 месяцев назад

      Please check your dependencies and versions. It should be what I have used or you have to do some modifications to make it work.

  • @dio_gamings6166
    @dio_gamings6166 Год назад

    Getting white label error
    Also compared with your code
    I can't figure out error😢

  • @himanshurana5213
    @himanshurana5213 2 года назад +1

    Bro you're good

  • @jaylin3009
    @jaylin3009 2 года назад +1

    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

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  2 года назад +1

      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

    • @prajaktanikumbh1629
      @prajaktanikumbh1629 2 года назад

      I also got same error

    • @gopikrishnan6667
      @gopikrishnan6667 Год назад

      did u got the solution because I'm also getting same error

  • @yeshwanth2419
    @yeshwanth2419 2 года назад +1

    5:30 hi bro, how did you adjust the code in correct margin?

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  2 года назад

      Ctrl + Shift + F for windows, not sure about others.

    • @yeshwanth2419
      @yeshwanth2419 2 года назад

      @@PrashantSharmaOfficial mine is windows 10 bro

    • @yeshwanth2419
      @yeshwanth2419 2 года назад +1

      @@PrashantSharmaOfficial ok bro, tq, I'll try it.

  • @PARVABHARATKUMARDHAMI
    @PARVABHARATKUMARDHAMI Год назад

    A humble suggestion: Be a little bit energetic and elaborative in your presentation

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  Год назад

      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.

  • @sanjusam3462
    @sanjusam3462 2 года назад

    Hi sir , we need on this forgot password and logout , can you please help me in another video ..Thank you ☺️

  • @saisharma5346
    @saisharma5346 Год назад +1

    Saviour

  • @cricketalltime5447
    @cricketalltime5447 3 года назад

    Verry useful thanks

  • @manishkumar-lw7iq
    @manishkumar-lw7iq Год назад

    guys guys guys please don't use @Restcontroller in place of @Controller in the controller class

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  Год назад

      It should be okay if you use any of these two annotations.

    • @manishkumar-lw7iq
      @manishkumar-lw7iq Год назад

      @@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

  • @raviprasad8946
    @raviprasad8946 2 года назад +1

    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;
    }
    }

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  2 года назад

      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.

  • @isaacfrankental4040
    @isaacfrankental4040 3 года назад +2

    It doesnt send me to the login.jsp page. I get the message: [/WEB-INF/jsp/login.jsp] not found.

    • @PrashantSharmaOfficial
      @PrashantSharmaOfficial  3 года назад +1

      Please check your project structure and application.properties once. See if both of them are exactly like in the video.

    • @vagdevi3822
      @vagdevi3822 3 года назад

      Hi , did u solved ur error

    • @isaacfrankental4040
      @isaacfrankental4040 3 года назад

      @@vagdevi3822 Hi, no I still receive the same message: "JSP file [/WEB-INF/jsp/login.jsp] not found" but I went farther with thymeleaf

    • @vagdevi3822
      @vagdevi3822 3 года назад

      Still i didn't resolve that problem

    • @poornimapatil5051
      @poornimapatil5051 2 года назад +1

      @@isaacfrankental4040 put the jasper dependency in pom.xml and "load maven changes". Worked for me