Java Servlets & JSP [5] - Forwarding and Redirecting Requests

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ต.ค. 2024

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

  • @NoTrayze
    @NoTrayze ปีที่แล้ว +12

    This material is better than any Servlet tutorials I've come across online. Even the paid courses on Udemy don't come close to this. Great job Kody!

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

      Wow, thanks! I appreciate that

    • @samuelnjau8086
      @samuelnjau8086 8 หลายเดือนก่อน

      On UDEMY there is a whole Java pro course which is kind of cool.

  • @foodfairyshi
    @foodfairyshi ปีที่แล้ว +4

    Thank you so much, Kody for clearing my confusion between redirecting and forwarding requests. Now, I am getting interested to learn more.

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

      You're very welcome! Keep learning :)

  • @mamidiveerabhadravinodkuma2447
    @mamidiveerabhadravinodkuma2447 6 หลายเดือนก่อน +2

    🎯 Key Takeaways for quick navigation:
    00:00 *📝 Understanding how to map servlets to specific URL patterns is crucial for building complex web applications in Java.*
    01:00 *🛠️ IntelliJ IDEA 2020.2 introduced changes to templates, offering updates to Java Enterprise setup, including Maven or Gradle build tools selection and testing libraries like JUnit.*
    04:04 *🚀 Selecting Java EE modules in IntelliJ IDEA facilitates project setup, with options like Servlets, JSP, Websockets, RESTful services, Hibernate, and more, enabling the development of various web applications.*
    10:42 *🎯 Servlets can be mapped to URL patterns using annotations, allowing for straightforward configuration and enabling mapping to multiple patterns for a single servlet class.*
    15:05 *📝 XML configuration offers an alternative method to map servlets to URL patterns, requiring servlet name, class location, and mapping in the web.xml file, providing flexibility for various mappings.*
    20:02 *🚀 Next episode will cover forwarding requests to HTML and JSP files, offering more sophisticated user interactions than raw text responses.*
    20:30 *💬 Questions can be posted in the comments or on the Discord server, which boasts over 1300 members, providing assistance and community support.*
    20:44 *📎 Access the code for this episode in the description for reference, complete with detailed comments for clarification.*
    Made with HARPA AI

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

    Appreciation for these high quality videos.👏👏

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

    Your explanations are damn good !

  • @samuelnjau8086
    @samuelnjau8086 8 หลายเดือนก่อน

    I wish you posted the link to your GitHub repository with this sample code posted.

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

    he simpson you talk so fast.. please be slow... please please... u r tooo goood btw

  • @ariel_chess
    @ariel_chess 10 วันที่ผ่านมา

    What's the difference between getServletContext().setAttribute() and request.setAttribute()? Stackoverflow's answer has a whole debate abt it and doesnt clear things up.
    I know this is 4 years old btw, but doesn't hurt to try

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

    Hi, Like i iam having two projects. project A and project B both projects i imported into intellij, here i want to redirect from project A html page to project B html page. Like how to deploy these two projects into tomcat server container like Add and Remove in eclipse.

  • @gionniilbassotto
    @gionniilbassotto 6 หลายเดือนก่อน

    what theme do you use in intellij?

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

    Thank you kind man!

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

    When I try to redirect to another servlet like you do with "/secondary" I get a 404 error, I checked my path and its all correct, and when I use it with forward it works perfectly, can you help me?

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

      Is the other servlet in the webapp folder?

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

    thank you sir

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

    please provide me with that president.jsp file

  • @trashcan6836
    @trashcan6836 4 ปีที่แล้ว +7

    I’m a trash can

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

    Thanks for your time!

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

    he simpson i need that jsp file to try .. how do i get.. please post the file in comment

  • @kristenlindesy95
    @kristenlindesy95 2 ปีที่แล้ว +1

    playback speed .9

  • @SpeaksYourWord
    @SpeaksYourWord 4 หลายเดือนก่อน

    Hi, just wanted to let you know that I take offense that you consider donald trump as one of your favorite presidents.