can we override service method in my servlet class..?? if
yes or no why ??
Answer Posted / sekhar babu
yes, we can override service() in our servlet, but not
preferable. if we want use these service from any protocol
like ftp,telnet, then we have to override.
| Is This Answer Correct ? | 36 Yes | 6 No |
Post New Answer View All Answers
What are Servlets?
Explain servlet events?
When Servlet is unloaded?
What are the advantages of cookies?
What are different Authentication options available in Servlets.
What are the differences between the servletconfig interface and the servletcontext interface?
What is the difference between get and post methods?
Explain the concept of ssi ?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
What is the difference between the http servlet and generic servlet?
What is servlet in simple terms?
How can the session in servlet be destroyed?
What is the dispatcher servlet?
What are the steps that are required to handle the multi-threading?
What is the capacity the doget can send to the server?