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...

can we override service method in my servlet class..?? if
yes or no why ??

Answer Posted / manidhar

NO. Very unlikely.
You should NOT override the service()method. Your job is to
override the doGet()/doPost() methods and let the service()
implementaion form HTTPServlet worry about calling the
right one.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Servlets and Applets?

1048


What are different Authentication options available in Servlets.

1077


What are the different ways we can maintain state between requests?

1105


Can you use javascript in servlets?

1091


Explain session tracking and its importance?

1016


Describe some assignments that are executed by servlet container?

1086


Explain the difference between jsp and servlet?

1101


What is ServletConfig object?

1192


What are the advantages of servlets over traditional cgi?

1105


What is cgi and what are its drawbacks?

1078


What is a deployment descriptor?

1111


Can you explain in detail 'javax.servlet' package?

1000


Explain is servlet mapping?

1021


How can the referrer and the target urls be used in servlet?

1012


What are the phases of a servlet life cycle?

1120