If you override the service methods in your servlet class, you will lose the
functionality provided by the HttpServlet class, and the doXXX()
methods will not be called automatically. In your implementation, you will
have to determine the HTTP method used in the request, and then you will
have to call the appropriate doXXX() method yourself. For this reason, it’s
recommended to only override the doPost() or doGet() methods.
but in the code of the earlier post doGet was called even though i didnt call doGet from service method....can anyone explain please