Java Servlets & JSP [6] - Accessing GET Request Parameters

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ต.ค. 2024
  • In this episode, I show you how access and use request parameters in a Servlet. #Java #Servlets #JSP
    Code: Coming Soon
    Discord: rebrand.ly/dis...
    Support: / @kodysimpson
    More Videos coming soon.
    Leave a comment for any future video suggestions.

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

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

    🎯 Key Takeaways for quick navigation:
    00:33 *🖥️ Understanding how to add parameters to a GET request URL is essential for passing data to servlets, commonly used for tasks like search queries.*
    01:44 *🔄 Parameters in GET and POST requests differ in their visibility, with GET parameters being visible in the URL while POST parameters are hidden in the request body.*
    06:22 *📝 Utilize `request.getParameter()` method in Java servlets to retrieve parameter values from GET requests.*
    09:40 *📝 Post requests, often used with forms, require a different approach to handling parameters in servlets compared to GET requests.*
    Made with HARPA AI

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

    What about URL parameters, the ones you take from the URL, before the question mark? For example, how to process localhost:8080/hello/Kody/Simpson?

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

      This might help: agiletribe.wordpress.com/2015/01/02/java-servlet-url-parsing-best-practice/

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

    Love the videos, however, Discord light mode is a sin

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

    hi, i watched the 2nd video about events on your guide, and got the error Error:(16,64) java: ')' expected do you know what the problem is?

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

      It just told you, that's the problem

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

      @@KodySimpson dont wory, im watching codedred's tutorial thing now, but ty for replying - hes just a bit more explanative

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

    Lil latin sounding intro this time, alright alright.

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

    Thanks.