title: How does a JSP page handle both GET and POST method?
body: <p>When writing a servlet, we usually override the <code>doGet()</code> and <code>doPost()</code> method inherited from the <code>HTTPServlet</code> class.</p>
  
  <p>But when writing a JSP, all the template HTML, scriptlet and expressions goes into the <code>_jspService()</code> method. We don't have a chance to make the <code>doXXX()</code> methods.</p>
  
  <p>So how does a JSP page handle <code>GET</code> and <code>POST</code> and all the other HTTP-methods?</p>