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
What is meant by a servlet?
Explain the difference between servletconfig and servletcontext in servlet?
What’s the difference between forward() and sendredirect() methods?
What are the differences between forward() method and sendredirect() methods?
Explain is servlet mapping?
How to get the current httpsession object?
What is the structure of the http response
How do you find out what client machine is making a request to your servlet
What is ServletContext object?
What exactly is a servlet?
What is the difference between servlet and jsp?
When servlet object is created?
How can an existing session be invalidated?
What is servlet and its types?
What is servlet lazy loading?