#9 What the heck is PRG? The post-redirect-get pattern | java + spring live project

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • in this video, we will learn the post-redirect-get pattern. So, What the heck is PRG? The post-redirect-get pattern will help us to restrict duplicate form submission by the user. Generally, when the user clicks refresh on a post request, it’s ended up creating a new resource inside Database. To restrict it, we can implement the Post-Redirect-Get pattern so that a post request can be redirected to a get request once it’s done doing its task hence resulting a get call when the user try to refresh once a post request is handled.
    In this video we will also learn how to prevent duplicate submit and how to redirect to another url using spring. The redirection can happen inside a same controller or for a different controller.So let’s discuss.
    Project Description :
    Spring MVC + Spring JDBC + Spring Security; these are the three main spring modules that we will be implementing in this project. The output of this course is going to be a student management application which will be making with java and spring.
    This java project training online series focuses on three important modules which I call Spring Boot Starter program. This course aims to help students/professionals build their first Java + spring live project and deploy that live on the cloud.
    The Important goal :
    Create a CRUD interface using the java spring framework.
    The soul of this project is a spring MVC crud example
    Style the project using CSS and Bootstrap
    Learn to enhance this java project by adding new requirements
    Deploy the project to Amazon AWS
    Go Live
    Before you go on building this real-time spring project step by step, make sure that you have completed all my previous courses on spring i.e Spring Core, Spring MVC, Spring MVC Intermediate, Spring JDBC. Use the below link if you are new here.
    Link to my spring core course
    www.youtube.co....
    Link to my spring MVC course
    www.youtube.co...
    Link to my spring MVC intermediate course
    www.youtube.co...
    Link to my spring JDBC course
    www.youtube.co...
    Link to my spring security course
    Note that this project comes under the java projects for beginners category and aims to help you build your first real-time spring app and deploy it on the could. Once we are done with this, we will build some more advanced projects in my future course.
    So if you are looking for a java spring project with a step by step explanation, this is the project for you.
    ------------
    #SpringCrudExampleWithMysql #JavaLiveProject #SpringProject #SpringMVC #SpringJDBC
    For more courses visit
    www.seleniumex...
    Any time you are getting stuck with issues, Feel free to ask for support.
    You can send mail to seleniumexpress@gmail.com
    you can ping me on my Facebook page
    / seleniumexpress
    Make sure to join my private Facebook page (Ask me here)
    “SeleniumExpress - Support"
    / 187000222361579
    you can ask for support in my website forum
    www.seleniumex...
    Subscribe to my youtube channel
    / @seleniumexpress
    Follow me on Insta
    / selenium_express
    Music :
    -----
    credits: -
    (channel intro)
    Adventures by A Himitsu / a-himitsu
    Creative Commons - Attribution 3.0 Unported- CC BY 3.0
    creativecommons....
    Music released by Argofox • A Himitsu - Adventures...
    Music provided by Audio Library • Adventures - A Himitsu...

ความคิดเห็น • 35

  • @teohoyos
    @teohoyos 3 ปีที่แล้ว +2

    Hey Abhilash, thank you for you content. I'm learning so much with you. I wish you keep the motivation to make more content.

  • @sonam3531
    @sonam3531 2 ปีที่แล้ว

    I am really enjoying your course, the way you create project, come and fix the issue is really great.

  • @santhoshchandran6952
    @santhoshchandran6952 2 ปีที่แล้ว

    Great man, Thank you

  • @yogeshwarimadhavaraj131
    @yogeshwarimadhavaraj131 ปีที่แล้ว

    Thank you man😊

  • @thiyamybabygirl2144
    @thiyamybabygirl2144 3 ปีที่แล้ว

    Thanks for this tutorial, this is done from myside.

  • @saurabhsingh5909
    @saurabhsingh5909 3 ปีที่แล้ว

    Hi Abhishek,
    Thanks for your effort.
    I am watching you growing brother.
    Much love 👍

    • @SeleniumExpress
      @SeleniumExpress  3 ปีที่แล้ว +1

      Thanks, Saurabh !
      My name is Abhilash 😀

    • @saurabhsingh5909
      @saurabhsingh5909 3 ปีที่แล้ว

      @@SeleniumExpress oops, i got it wrong😂

  • @chaitanya5587
    @chaitanya5587 3 ปีที่แล้ว

    Hi Abhilash
    if possible , can you explain different design patterns in java clearly.
    I know you will always explain clearly.Thank you.

  • @rushendrarushi
    @rushendrarushi 3 ปีที่แล้ว

    Hi Abhilash,you are awesome. Are you planning to make videos on Design patterns ?

  • @financeWithChandy
    @financeWithChandy 2 ปีที่แล้ว

    Hi, If we manually hit /save-student won't the issue exists?

  • @littleuniverse9821
    @littleuniverse9821 3 ปีที่แล้ว

    Abhilash, You explanation is awesome. Do you have a git hub to share this code ?

  • @agneeshs4853
    @agneeshs4853 3 ปีที่แล้ว

    Hey Abilash, what we do,if we have the sequence of form, like after submitting the one,it moves to another one. In such cases how to restrict the duplicate entries.

  • @mcq2427
    @mcq2427 3 ปีที่แล้ว

    HI Abhilash, how can we save multiple data at a time in ui instead of single record

  • @pradipchoudhari2254
    @pradipchoudhari2254 3 ปีที่แล้ว

    Hi abhi bhaiyaa ,
    Why we used separate form tag for 'add' button while rendering to add student screen , can we go with just for rendering , or we get any benefits with form , in this case ?

    • @SeleniumExpress
      @SeleniumExpress  3 ปีที่แล้ว +1

      Hi Pradip,
      Yes,You can create a simple link using or jstl c:url.
      Thats absolutely fine.

  • @magicalriderskeralamrkoffi1931
    @magicalriderskeralamrkoffi1931 3 ปีที่แล้ว

    Add a video with the series to fetch data from two tables in a database it'll be more helpful

  • @kumardileep3426
    @kumardileep3426 3 ปีที่แล้ว

    Hi Abhilash, Roughly in how many days we will complete this whole project ?

    • @SeleniumExpress
      @SeleniumExpress  3 ปีที่แล้ว +3

      I think it will need a week more to complete the jdbc/bootstrap/pool integration. Then i have yet to record the security videos. Once done it Needs to be Deployed on AWS! I feel may be 20 more episodes overall.

    • @kumardileep3426
      @kumardileep3426 3 ปีที่แล้ว

      @@SeleniumExpress Thanks Abhilash for the update. Waiting for connection pooling and security videos

  • @BirdHouseOfficial
    @BirdHouseOfficial 3 ปีที่แล้ว

    Hey Abhilash from where should I learn Spring Boot

    • @SeleniumExpress
      @SeleniumExpress  3 ปีที่แล้ว

      TH-cam 😀 you should get a lot of free resources !

    • @BirdHouseOfficial
      @BirdHouseOfficial 3 ปีที่แล้ว

      So many tutorials are available on TH-cam but it's very difficult to find the best one like the resources which are available on your channel (Selenium Express) No Comparision with Selenium Express resources

    • @BirdHouseOfficial
      @BirdHouseOfficial 3 ปีที่แล้ว

      I an eagerly waiting for your Spring Boot tutorial but As Of Now plz suggest me some good resources from where I can get some basic idea

    • @BirdHouseOfficial
      @BirdHouseOfficial 3 ปีที่แล้ว

      Thanks Abhilash

  • @pixo-pixel
    @pixo-pixel 3 ปีที่แล้ว

    Hibernate validation not working with this

    • @SeleniumExpress
      @SeleniumExpress  3 ปีที่แล้ว

      Hi.Which hibernate Validator version you are using?

    • @pixo-pixel
      @pixo-pixel 3 ปีที่แล้ว

      @@SeleniumExpress actually i am working with different project...but have same problem...using spring mvc and hibernate validation for validation... unable to find proper video on this...Can you make one video on this.. Redirect Attributes,.
      after redirecting to same page after getting error ,
      error messages are not showing...
      and i need help in one more topic...my senior asked me to manage session for registration page if user return back then its check the session if the user already been here before then i need to continue where he was left last time and if he is new then new registration..one more thing there is 3 different page of registration and saving data on every page..but if user left in between then previous save data should get removed from data base.

  • @BirdHouseOfficial
    @BirdHouseOfficial 3 ปีที่แล้ว

    Hello Abhilash ! How Are You?

  • @gopalchithukati4614
    @gopalchithukati4614 3 ปีที่แล้ว

    Hi