Difference between doGet() and doPost()



  • doGet() method is limited with 2k of data to be sent,where as doPost() method does not have this limitaion
  • The Request String of doGet() looks like the following
  • http://localhost:8081/abc?p1=v1&p2=v2.........&pn=vn
  • doPost() method does not need a long text tail after a servlet name in request,all parameters are stored in request itself not in a request string

No comments:

Post a Comment