Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between do get/dopost

Answer Posted / srinu

doGet:-
1)doGet() method this is default HttpRequest method
2)The request parameters as a query string in the Visible in
address bar.
3)it sends limited data
4)security is low because query string visible in the
address bar
5)It doesn't used multiform content data(i.e file uploading
operation) never used.
6)small scale application.

doPost:-

1)doPost()method this n't a default HttpRequest method
2)The request parameters as a query string does n't Visible
in address bar.
3)it sends unlimited data.
4)Security is high.
5)its used for multiform content data
6)large scale application.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you create a session in servlet?

1146


What are advantages of servlets over cgi?

1114


What is the major difference between context parameter and context attribute?

1116


What is the life cycle of a servlet?

1537


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1089


What is servletconfig?

1034


Write a servlet to upload file on server.

1103


How do you design microservices?

1084


What are all the protocols supported by httpservlet?

1282


What is the difference in between the httpservlet and generic servlet?

1122


Why do we need a constructor in a servlet if we use the init method?

1053


Explain url encoding?

992


How can we include static files in the jsp page?

1063


What is the functionality of actionservlet and requestprocessor?

1090


What are the types of Session Tracking ?

1151