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

What is new in ServletRequest interface ? (Servlet 2.4)

965


Which java framework is most popular?

1068


Is it good idea to create servlet constructor?

1206


What are the advantages of servlets over traditional cgi?

1037


How can we upload the file to the server using servlet?

1002


What is the life-cycle of servlets?

1089


Why HttpServlet class is declared abstract?

1135


Explain how does JSP handle run-time exceptions?

1038


What is life cycle of Servlet?

1020


What is meant by servlet? What are the parameters of the service method?

964


What’s the difference between genericservlet and httpservlet?

1021


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2645


How we can get ip address of client in servlet?

939


What is a server side include (ssi)

1072


What is the difference between jsp and servlet life cycle?

1175