title: How doGet() or doPost method invokes service() method internally
body: <p>In servlet program we are calling the <code>doGet()</code> or <code>doPost()</code> method but in the servlet life cycle says that all requests will be redirected to <code>service()</code> method. But in the HTTP servlet we are not writing a <code>service()</code> method in our program. Then how is it calling <code>service()</code>? Please explain briefly.</p>
  
  <pre><code>protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
  
   .......// It is working fine but how internally it is calling service()
  }
  </code></pre>