Originally posted by Adnan Ahmed:
I think this is not right way to invoke doHead method of servlet. Because to invoke doGet u r using form tag of html and the attribute "method" of form just support two HTTP method either get or post.
And the reason the page invoking doget is that the form using invalid method thats why form default method will be called which is Get.
If i m right then tell me