Servlets Tutorial 13-For Beginners GET VS. POST In Hindi

3,258 views · Published 10 March 2018 · 27:05 · Indexed 23 September 2026

Channel: Surya Automation Tech · 2018 · Science & Technology

Watch on YouTube

GET VS. POST
1. In General Get Request is used for request static content form server and post is used for requesting dynamic content.
2. In case of Get request, only limited amount of data can be sent because data is sent in 
Header. 
In case of post request, large amount of data can be sent because data is sent in body.
In case of get request, request data is send as a part of heard. Size of header is fix hence limited amount of data can be send in get.
In caser of post request data is send as a part of body. Size fo body is unlimited hence any amount of data can be send post method.

3.In case of get request ,request data  is appending to the url hence it is visible in the address bar in the browser.
In caser of post request, request data is not appending to the url hence it is not visible in the address bar in the browser.

 Get request is not secured because 
data is exposed in URL bar.
Post request is secured because data is  
not exposed in URL bar.

4.In case of get request, request data is transmitted over the network as submitted by user.
Where as in case of post request request data if first encrypt  using standard 32-bit algorithm and then transmitted over the network.

5.Get request is Idempotent where is post is not.
An operation In which operands can not be change. 
A request is Idempotent if multiple submissions of a result in a single response and A request is not Idempotent if multiple submissions of a result in a multiple  response .
   
5) Get request can be bookmarked.
Post request cannot be bookmarked.


6) Get request is more efficient and used  
more than Post.
Post request is less efficient and used 
less than get.


Stay tuned with me for more upcoming Videos, 
don't forget to subscribe my YouTube Channel and share your valuable comments in Comment section down below, i'll be happy t o help you all, your Surya ☺ 

Eclipse Download Url-
http://www.eclipse.org/downloads/
Apache Tomcat Url-
https://tomcat.apache.org/download-80.cgi
Servlet Interface
Methods of Servlet interface
There are 5 methods in Servlet interface. The init, service and destroy are the life cycle methods of servlet. These are invoked by the web container. 
1. public void init(ServletConfig config)  
2. public void service(ServletRequest request,ServletResponse response)  
3. public void destroy()  
4. public ServletConfig getServletConfig()  
5. public String getServletInfo()  

 Download  my you tube channel  Android application from here-
https://www.dropbox.com/s/stoehcarylm...
Firebase Tutorial No-6 URl-
https://www.youtube.com/watch?v=5IWBz...



Firebase Tutorial No-1 URl-
https://www.youtube.com/watch?v=gf0VQ...
Firebase Tutorial No-2 URl-
https://www.youtube.com/watch?v=srgAL...
Firebase Tutorial No-3 URl-
https://www.youtube.com/watch?v=TW0uO...
Firebase Tutorial No-4 URl-
https://www.youtube.com/watch?v=XXxRA...
Write  program url using Firebase Database-
https://www.dropbox.com/s/wxggu30ajqa...
Sqlite database tutorials part-1 url-
https://www.youtube.com/watch?v=6a9lI...

Sqlite database tutorials part-2 url-
https://www.youtube.com/watch?v=h1Peq...

Storage option url-
https://www.youtube.com/watch?v=KgCfx...

Internal Storage url-
https://www.youtube.com/watch?v=O-VKJ...

External Storage url-
https://www.youtube.com/watch?v=EteGm...

Shared Prefrences url-
https://www.youtube.com/watch?v=KZJC2...

Spinner Url-
https://www.youtube.com/watch?v=o3KZz...
CustomListView Url-
https://www.youtube.com/watch?v=2geTp...

ListView In Android Studio Part-1
https://www.youtube.com/watch?v=taItn...

ListView In Android Studio Part-1

ListView In Android Studio Part-2 With EventHandling
https://www.youtube.com/watch?v=F3tsW...

ListView In Android Studio Part-3 With EventHandling
https://www.youtube.com/watch?v=fCh5D...

Firebase:-
https://www.youtube.com/watch?v=Lncmj...

How to Install Java Url-
https://www.youtube.com/watch?v=NXlHE...

Download  my you tube channel  Android application from here-
https://www.dropbox.com/s/stoehcarylm...
 
GridLayout url-
https://www.youtube.com/watch?v=B3TUS...

TableLayout url-
https://www.youtube.com/watch?v=wbV3t...

RelativeLayout-
https://www.youtube.com/watch?v=80Kk_...

https://www.youtube.com/watch?v=1jnNF...

Linearlayout-
https://www.youtube.com/watch?v=yY3xL...
https://www.youtube.com/watch?v=vnEdL...

Connect on Socials:-

Facebook:- https://www.facebook.com/AndroJavaTec...
Twitter:- https://twitter.com/AndroJavaTech4U
Google Plus:- https://plus.google.com/u/0/+AndroJav...
LinkedIn:- https://www.linkedin.com/in/androjava...

More from this channel