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 ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the servlet mapping.

548


What is called servlet mapping?

558


What is the structure of the http response

677


Explain mvc pattern.

594


What are the advantages of cookies?

632






Why servlet is faster than jsp?

566


How is an application exception handling is done using a servlet?

540


Write a program to show the functionality of servlets.

555


What is called servlet container?

665


Explain in brief the directory structure of a web application?

571


Explain how to improve Servlet Performance?

598


What is http servlet in java?

565


What do you mean by cgi?

533


What is difference between cookies and httpsession?

546


How do you deal property files in servlet?

605