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 cgi and what are its drawbacks?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What are advantages of servlets over cgi?
How can you start a jta transaction from a servlet deployed on jboss?
Tell us something about servletconfig interface.
What is the use of send redirect () method?
Write all the phases defined in servlet life cycle?
What is the purpose of requestdispatcher interface?
What do you mean by mime type?
What are the steps that are required to handle the multi-threading?
How can you use a servlet to generate a plain text instead of html?
How can we implement a jsp page?
How does java thread pool work?
How to generate the server side programming and the advantages of it over the other languages?
How do you find out what client machine is making a request to your servlet