I am beginner in
servlets and following Head First book.
The signature of service() method is like as service(HttpServletRequest request,HttpServletResponse responce){}.These two parameters of service() method are reference
variable of interface HttpServletRequest and HttpServletResponce respectively.
When Container invokes the service() method, it should must pass the object of some class which has implemented HttpServletRequest interface or HttpServletResponse interface respectively as an argument to service() method.
am I thinking in right way?
If yes,then please tell me what is the name of class which has implemented the HttpServletRequest interface and HttpServletResponse interface?
if no,then what is the parameter that Container passed as an argument to service(HttpServletRequest request,HttpServletResponse responce){} method while invoking it?