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

Answer Posted / ravikiran

no it's not a good practice to overide the service
method...if we call any of the doxxx method then internally
it will call the service method of the HttpServlet

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we have servlet wrapper classes?

580


How do we go with database connection and log4j integration in servlet?

710


What are different ways for authentication of servlet?

531


Why is Servlet so popular?

618


What is servlet container?

667






What is Servlets and explain the advantages of Servlet life cycle?

585


What is the difference between the http servlet and generic servlet?

606


What are the common methods that are included in the http servlet class?

580


What is a generic servlet?

524


Write a hello world program using servlets.

593


Can you use javascript in servlets?

604


What is servlet name in web xml?

562


What is the difference between context parameter and context attribute?

535


Explain jsessionid?

622


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

580