What HTTP method and corresponding HttpServlet method is used when a user clicks on "Submit" button of any standard Form displayed by a browser? They answered POST, doPost(...,...) But how do we know ? It may be GET, doGet(...,...) also... isn't it ?
Nazmul<br />SCJP,SCWCD,IBM OOAD with UML
Enthuware Software Support
posted 15 years ago
The full question is: What HTTP method and the corresponding HttpServlet method is used when a user clicks on the Submit button of a FORM used for capturing username/password? The last part gives the clue that POST should be used in the form.