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
How do you find out what client machine is making a request to your servlet
What are the servlet events?
When servlet object is created?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is the use of servlet context?
Why are servlets used?
What is the difference between the servlets and cgi programs?
How to rectify errors in java servlet while compilation?
What is Servlets and explain the advantages of Servlet life cycle?
Difference between java beans & servlets?
What is the
What is setattribute in servlet?
What is servlet and its advantages?
What do you mean by web applications? Explain web application directory arrangement?
What is the life cycle of a servlet?