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 ]