Java Servlets & JSP [4] - Mapping Servlets to URL Patterns

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ต.ค. 2024
  • In this episode, I show you how to map servlets to specific URL patterns. There are two ways to do this, with annotations and with the web.xml XML configuration file. I show both. #Java #Servlets #JSP
    ⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've tried it an it's awesome! www.kite.com/g...
    Code: Coming Soon
    Discord: rebrand.ly/dis...
    Support: / @kodysimpson
    More Videos coming soon.
    Leave a comment for any future video suggestions.

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

  • @gamespecies
    @gamespecies 28 วันที่ผ่านมา +2

    This series is saving me from failing. Even 4 years later, thanks man these tuts are awesome

    • @KodySimpson
      @KodySimpson  25 วันที่ผ่านมา +1

      Glad to help!

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

    Just a heads up to anyone who can't get their servlets to work on the server: You have to use Tomcat 9 because Tomcat 10 switches the API namespace from javax to jakarta, so the classes for servlets won't be found

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

      thx buddy, I am actually to dumb to upgrade. So I downgraded to Tomcat 9.0.65

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

      Although I use Tomcat 9.0.76 but it still returns "HTTP Status 404 The requested resource (/servlet) is not available"

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

    Thanks for your work dude, keep going

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

    Grate teacher!!

  • @ayushjaiswal4449
    @ayushjaiswal4449 10 หลายเดือนก่อน +1

    Don't let this man design your URLs

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

    Thanks to you im finally starting to understand servlets, btw how did you change the loading bar in intelij for the rainbow cat? :D

    • @maximood-tired
      @maximood-tired ปีที่แล้ว

      its a plugin, search for nyan cat progress bar

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

    which IDE are you using ???? Please tell me, If there somebody knows.

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

    love your videos

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

    Your Gmail account settings were out of date

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

    THINGAMAJIGGY!!!!!!!!!!!

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

    what's the bgm at the beginning?

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

    I am watching this video now and so frustrated already as I cannot configure intellij to work. It says "access denied process error=5+

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

    What IDE are you using?

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

    why my url patterns error 404?

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

      I am not inside of your computer at the moment :(

  • @sandeepg5387
    @sandeepg5387 4 ปีที่แล้ว

    which theme are u using in IDE?

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

      Material Darker with High Contrast and my custom color scheme. I'll make a video on this soon

  • @VortexPrimes
    @VortexPrimes 4 ปีที่แล้ว

    More spigot please

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

    You're repeating yourself a bit too much, people who are watching these tutorials should have at least basic to normal Java knowledge imo. All love tho

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

    Thanks again!