Hi,
I have a doubt in Servlets.In a Servlet class we need to override doGet()/doPost() methods.The invoking of corresponding methods will depend on the way the form submitted.If the form is submitted with GET method then doGet() is invoked.If POST is used doPost() is invoked().My question is how the servlet engine recognises that a form is submitted with GET/POST method.I will be highly grateful for the same.
Regards
Soma.
I have a doubt in Servlets.In a Servlet class we need to override doGet()/doPost() methods.The invoking of corresponding methods will depend on the way the form submitted.If the form is submitted with GET method then doGet() is invoked.If POST is used doPost() is invoked().My question is how the servlet engine recognises that a form is submitted with GET/POST method.I will be highly grateful for the same.
Regards
Soma.