• Post Reply Bookmark Topic Watch Topic
  • New Topic

doPost() method implementation

 
h kumar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

Can any body tell me what could be the implemention of doPost() method of a servlet?

Thanks
Hari
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Use this method when you want to make some changes on the server side, as an example, add a record to the database.

Regards ...
 
h kumar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Vassili,

Thanks for your replay, as my doubt is wht could be the implementation of doPost() method in HttpServlet class ..?

Thanks
Hari
 
Tarun Yadav
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll have ask a more specific question; what exactly do you mean 'what could be the implementation'?

Vassili Vladimir has already given an example of what it could be used for. What do you need to know?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!