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
What is the difference between Servlets and Applets?
What are different Authentication options available in Servlets.
What are the different ways we can maintain state between requests?
Can you use javascript in servlets?
Explain session tracking and its importance?
Describe some assignments that are executed by servlet container?
Explain the difference between jsp and servlet?
What is ServletConfig object?
What are the advantages of servlets over traditional cgi?
What is cgi and what are its drawbacks?
What is a deployment descriptor?
Can you explain in detail 'javax.servlet' package?
Explain is servlet mapping?
How can the referrer and the target urls be used in servlet?
What are the phases of a servlet life cycle?