Servlet Java Tutorial Part 2 – doGet method() and doPost method()

///Servlet Java Tutorial Part 2 – doGet method() and doPost method()

Servlet Java Tutorial Part 2 – doGet method() and doPost method()

FavoriteLoadingAdd to favorites

Servlet and JSP complete playlist :

Java468x60

Check out our website:

Follow Telusko on Twitter:

Follow on Facebook:
Telusko :
Navin Reddy :

Follow Navin Reddy on Instagram:

Subscribe to our other channel:
Navin Reddy :
Telusko Hindi :

In this video we will see the importance of Get method and Post Method.
will learn about getParameter

A servlet is a Java programming language class that is used to extend the capabilities of servers that host applications accessed by means of a request-response programming model.
Although servlets can respond to any type of request, they are commonly used to extend the applications hosted by web servers.
For such applications, Java Servlet technology defines HTTP-specific servlet classes.

The javax.servlet and javax.servlet.http packages provide interfaces and classes for writing servlets.
All servlets must implement the Servlet interface, which defines life-cycle methods.
When implementing a generic service, you can use or extend the GenericServlet class provided with the Java Servlet API.
The HttpServlet class provides methods, such as doGet and doPost, for handling HTTP-specific services.

source

By |2019-08-04T21:38:34+00:00August 4th, 2019|Java Video Tutorials|22 Comments

22 Comments

  1. raj koli August 4, 2019 at 9:38 pm - Reply

    Love u sir very nice understanding sir thank u very much sir

  2. Sonu Sharma August 4, 2019 at 9:38 pm - Reply

    I m facing an error when I use do get or do post by simple addition of 2 numbers the error description is

    The method received in the request line is known by the origin server but not supported by the target resource .
    Plz help me sir I m sooo stuck in there and want to complete your full course!!!!!!

  3. Wilson Cardoso August 4, 2019 at 9:38 pm - Reply

    I just came here to say thank you so much for sharing and explaining the knowledge that you have, you explain with so much patient and passion that I was able to understand completely. Keep up the good work.

  4. Akshay K August 4, 2019 at 9:38 pm - Reply

    thanks sir

  5. Kifa lol August 4, 2019 at 9:38 pm - Reply

    fine

  6. Pankaj Yadav August 4, 2019 at 9:38 pm - Reply

    Despite of using post, values of t1 and t2 are visible

  7. sushmita nigam August 4, 2019 at 9:38 pm - Reply

    where is servlet lifecycle explained??

  8. Altamash Shaikh August 4, 2019 at 9:38 pm - Reply

    👍

  9. DIPAK KUMAR SINGH August 4, 2019 at 9:38 pm - Reply

    Awesome explanation. Mind Blowing simple and precise explanation. Thank you so much from the depth of my heart.

  10. Naga Nandhini August 4, 2019 at 9:38 pm - Reply

    and another doubt. the first example u use service method, in html form the method type i've changed both (get and post) it works. then why we write doGet and doPost…

  11. Naga Nandhini August 4, 2019 at 9:38 pm - Reply

    Hi Sir, i wrote process code in doProcess( ) instead of processRequest() method. it works. how is it possible sir. kindly explain me

  12. Aamir Limkhedawala August 4, 2019 at 9:38 pm - Reply

    Hello Aleins

  13. Ganesh Gonge August 4, 2019 at 9:38 pm - Reply

    Please do share some more videos on advance java

  14. Kunal Saha August 4, 2019 at 9:38 pm - Reply

    Nice explanation! Hats off to you!

  15. Pravin Naikwade August 4, 2019 at 9:38 pm - Reply

    If service() method can work as both get and post, Why we use doGet() and doPost() both at same time?

  16. Deepjit das August 4, 2019 at 9:38 pm - Reply

    my output is getting null for all variable

  17. SalazarUE4 L3 August 4, 2019 at 9:38 pm - Reply

    Man, thank you SO MUCH for this AMAZING yet SIMPLE explanation, i was struggling a lot finding decent and simple to understand example of this technique. I followed your example and implemented it into angular js and it is awesome! Thank you!

  18. Rukmini Mortha August 4, 2019 at 9:38 pm - Reply

    thanku,this is very helpful
    can u please share more videos on jsp n servlets

  19. Dhivis Pantry August 4, 2019 at 9:38 pm - Reply

    Hi the videos are very useful.i can easily understand the concepts .I felt as I am in college.
    Please upload videos on struts, jsp, scripts, and scjp tutorials

  20. thanu alekhya August 4, 2019 at 9:38 pm - Reply

    please share more videos on jsp n servlets

  21. anupa pandya August 4, 2019 at 9:38 pm - Reply

    thanks

  22. Hitesh Khandelwal August 4, 2019 at 9:38 pm - Reply

    thanks sir, this was very helpfull 

Leave A Comment

*