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 doGet() and doPost()?

Answers were Sorted based on User's Feedback



what is the difference between doGet() and doPost()?..

Answer / annamalai

Hai doGet() method is the default HTTPServletRequest method.
In this user entered data is appended to the URL as query
String. It can send only limited amount of data. In doPost()
method the user entered information as data and not appended
to the URL.It can send any amount of data.

Is This Answer Correct ?    29 Yes 1 No

what is the difference between doGet() and doPost()?..

Answer / giridhar gangapatnam

doGet() doPost()
1)doGet() method can send 1)doPost() method can send
limited amount of data large amount of data.
i.e.upto 256 characters
only.

2)In doGet() method when we 2)In doPost() methodrequest
send request then in Request is passed along withbody
Format there is no body part, part of theRequestFormat.
the request is passed along doPost() method Request
with only Request Format header Format has both body and
part only. header part.

3)doGet() method send limited 3)large amount data has
data because it has only header sent through body part
part,header part has limited of the RequestFormat.
memory to carry the data.

4)doGet() method support book 4)doPost() method doesn't
marks. support book marks.

5)when we send request parameters 5)The requested parameter
in doGet() it will display the in doPost() will not dis
information in URL as a query play the information as
string.so in doGet() data there a query string in URL.so
is no data security. data is secured.

Is This Answer Correct ?    9 Yes 1 No

what is the difference between doGet() and doPost()?..

Answer / srivani

do Get() method carry only 255 characters of data.In depends
on browsers 1024 is carried.But do post() carry more than 255.

Is This Answer Correct ?    6 Yes 3 No

what is the difference between doGet() and doPost()?..

Answer / venkat

whenever we use doGet() method query string will be appear
on the address bar.
but doPost() does't appear on the address bar.

doGet() method is send limited amount of data
doPost() method is send unlimited amount of data

using doGet() method we can't solve idem potent problem.
using doPost() method we can solve idem potent problem.

doGet() is faster
doPost() is slow.

doGet() method is get method based request
doPost() method is post method based request

Is This Answer Correct ?    3 Yes 0 No

what is the difference between doGet() and doPost()?..

Answer / sharief

doGet() append the data to the link.
doPost() will not append the data to the link.

Efficiency is less for doPost() than doGet().Hence,doGet()
usage is more when compared to doPost().

only 255 characters are restricted for doGet(),where as
doPost() doesnt have any restrictions.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between doGet() and doPost()?..

Answer / rajkumari meena

the perticular data is sent to the server by dopost()
doget() is move to the next page

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What are setSecure() and getSecure() methods in Cookies?

1 Answers  


How httpservlet is different from the genericservlet?

0 Answers  


What is webservlet?

0 Answers  


Describe the phases of servlet lifecycle?

0 Answers  


How can a servlet be used to generate plain text instead of html?

0 Answers  


What is Server-Side Includes?

1 Answers   IBM, SAS,


Which protocol will be used by browser and servlet to communicate

0 Answers  


What is the type of method for sending request from http server?

0 Answers  


Which HTTP method is non-idempotent?

0 Answers  


Difference between java beans & servlets?

0 Answers  


How to work with Chinese login page (internationalization).if he enters user name and password in chinese, how is it converted to English and validate in db? And in reverse it should display welcome message in Chinese,if user is valid

4 Answers   Bosch,


Can we call destroy() method inside the init() method? What happens when we do so?

9 Answers   Ericsson,


Categories