aspose file tools*
The moose likes Servlets and the fly likes merit n demerit of overriding service method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "merit n demerit of overriding service method" Watch "merit n demerit of overriding service method" New topic
Author

merit n demerit of overriding service method

gagan narula
Greenhorn

Joined: Nov 05, 2006
Posts: 18
can any one please tell me
advantage and disadvantaged of overriding a service method in servlet
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseRealWords


Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
"plz" is not a word in the English language.

Again, welcome to JavaRanch and good luck with your question.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
De-merit : You have to find the request explicitly whether it is get or post and call in your overridden service method.
Merit : Container will find the request and call automatically. You do not need to analyse the request.

bye for now
sat
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Originally posted by satishkumar janakiraman:
De-merit : You have to find the request explicitly whether it is get or post and call in your overridden service method.


Whenever you need to do the same service for all requests irrespective of the HTTP command (GET , POST) used , in those situations you might override the delegation code that is there in the service method.


Rahul Bhattacharjee
LinkedIn - Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: merit n demerit of overriding service method