Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hai  RSS feed

 
anna madhu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to over load service method or doGET(),doPost() method?
give some coding to overloading?
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, the correct term would be "overriding", and the signature of the overriding function is identical to the overridden function. If you tried to overload a method in a servlet, it wouldn't end up doing much for you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!