In a
servlet after extending the HttpServlet class,if I override the doGet or doPost Methods,what is difference in functioning?What happens if code meant to be written in doGet is written in doPost because I read that the service methods calls the doGet or doPost methods,after getting its reference.Please explain.I would like to understand this in depth.