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 advantage of Servlets when compared with other server side technologies?
What is Servlets and explain the advantages of Servlet life cycle?
Difference between forward() method and sendredirect() method ?
What is the purpose of requestdispatcher interface?
What's the servlet interface?
why we should override only no-agrs init() method.
What is URL Encoding?
Why servlet is faster than jsp?
Which httpsession object is used to view and manipulate information about a session?
What is java servlet session?
How will you pass values from HTML page to the servlet?
What are different methods of session management in servlets?
What is a deployment descriptor?
How to get the IP address of client in servlet?
How to commuincate between an applet and a servlet?