For complete list of videos please visit • Java Servlet Tutorials by Arjun
GET vs. Post
Browser can request a resource using GET or POST methods (HTTP protocol).
doGet and doPost are specific to Java and handle GET and POST respectively.
My blog http://javaarjun.blogspot.in/2014/05/...
GET ................................ POST
Data is sent as part of URL. ............. In body of packet.
Not secure.................................... Secure.
Can be bookmarked.................... Can not be.
Can be cached....................... Can not be.
Limited amount of data is sent............. Unlimited.
Default HTTP method is GET.