#6 Servlet and JSP Tutorial | Get and Post

preview_player
Показать описание

In this video we will see :
- Http methods
- Get
- Post
- When to use get method and when to use post method
- Controlling the method of request in servlet
- doGet() method in Servlet
- doPost() method in Servlet
- service() method in Serrvlet
- working example of doGet() method
- working example of doPost() method

HTTP works as a request-response protocol between a client and server.
Two commonly used methods for a request-response between a client and server are: GET and POST.
GET - Requests data from a specified resource.
POST - Submits data to be processed to a specified resource.

Editing Monitors :

Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :

Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20
Рекомендации по теме
Комментарии
Автор

Found your channel today, pretty quick and precise.

akhilraj
Автор

your tutorials are amazing and so clear.
thank you!

orz
Автор

Thank you very much! I really enjoy all of your tutorials!

nilsmetzler
Автор

Thanks a lot for this playlist! The theoretical & coding explanation is just amazing and very understandable :)

ayahyasser
Автор

After being into Management for long time I am planning to get back to technical stream. Listening to your videos is very refreshing and can recall what I learnt a decade back. Your communication is great - clear and crisp. Thank you so much 🙏

tanush
Автор

There are many tutorials about servlet but only after watching your videos i am able to run my first servlet program.

AkashSharma-gnxb
Автор

thank you so much ❤.... we need full series of videos.

-indeed
Автор

Thanks sir.we want complete servlet, jsp video series..

chinmaydas
Автор

thanks you very much....your explaination method is too good..

prachishinde
Автор

Happy teacher day sir . i am thankful that you are here for everyone of us keep doing your work and may god bless with success that you are expecting in your life

mayurmahangare
Автор

Thank you so much 😀 I even watch your tutorials in udemy as well.❤️

ushasharma
Автор

you are best java teacher ever i seen thank you

osmanforhad
Автор

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

how could i solve this issue?

nageshchendake
Автор

Thanks You, and telusko channel actually educate people.

Harsh-fdml
Автор

bruh you literally explain stuff better than my teacher :")

holydoggo
Автор

Your teaching is soooo good that i created multiplication servlet on top of add servlet @3:20 and will direct the webpage for any of the submit buttons clicked :D 👌👌
The addservlet is post method and the other is get :D

dharmang
Автор

Sir, in last few minutes you say if we want both two methods than we have to create doGet and doPost.. instead of this can we simply create service method and it will work with get and post... i can't find difference btw them

me_manish_prajapati
Автор

You didn't tell us how to attach the Tomcat source file (the src zip file that you downloaded) so that we could check the details of a class e.g. HttpServlet by using "Ctrl+Click". How do we do that? You should make a video for it and add it to this playlist at the correct position.

Edit:
Wow, I tried and finally I did it!
It's quite simple.

1. Press and hold the Ctrl key and click on a predefined class name whose source file isn't attached.

2. A new tab will open with a button "Attach Source...", just click that button.

3. A dialogue box will open asking for the location of the zip/jar file which contains the source.

(a) If the zip/jar file is inside your workspace folder, simply click on the "Browse..." button.
(b) If the file is saved at another location, select/check the "External location" radio button and click on the "External File..." button.

And finally, navigate to the zip/jar file and click the Open > OK > Finish > OK buttons.
Done!

Now, you can Ctrl+Click on the class name and see the source. 😊

zulfequar_ali
Автор

Sir, what if we use more than one servlet class and how we can acheive that situation?

digitalnomadg
Автор

Naveen please attatch the demo project folders in the description...

db
welcome to shbcf.ru