Actually this is an interview question. Who creates the request & response parameters that are passed to the service method.
The Web Server or the Container.
If we have a service as well as doGet method in our servlet which one will be called to cater to the request of the client. Will both be called or no.
The service will be called anyway. Depends on the method of the form (POST or GET) (by assuming that you havent overrided the service method), the corresponding do method (doGet() or doPost()) will be invoked.
Nick
[ October 04, 2004: Message edited by: Nicholas Cheung ]
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)