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

How can the session in servlet can be destroyed?

1122


What is servletconfig?

974


Explain the servlet filter.

928


What are different Authentication options available in Servlets.

1009


List the Different types of servlet?

983


What is the difference between forward () and sendredirect () functions in servlet? Explain

980


Explain servlet events?

950


Which event is fired at the time of setting, getting or removing attribute from application scope?

1079


How servlets are deployed in java?

964


Explain the features are in servlet 3?

1014


How we can get ip address of client in servlet?

938


What is http servlet? Explain with the help of an example.

1013


Explain the difference between servlet and cgi?

1106


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2645


What is servlet mapping?

971