Hi friends i'm new to servlets..
As we know HttpRequest and HttpResponse object are created by the web containers(Containers) .as these two are interface how the container will create object for them if so there is there any class provided by the container which implements HttpRequest and HttpResponse ...please give me a clear picture of this issue.....
HttpRequest and HttpResponse is an interfaces.
But servlet container will implement that interfaces & create concrete classes.
when we say object of HttpRequest and HttpResponse this that means object of that concrete classes.
we do not need to care about that classes servlet container take care of all that thing.
If you want to see implementation then you need to look in source of any servlet container.
Hope this will Help.
Yes, the container includes classes that implement those interfaces. If you download the container's source code you should be able to find those easily by searching for something like "implements HttpServletRequest".
Ping & DNS - updated with new look and Ping home screen widget
Please tell me in which class it is implemented in container source code
Joined: Mar 22, 2005
Even if we wanted to tell you, we couldn't, because we don't know which container you're using. Do you know how to search through multiple files for a particular phrase, like the one I suggested in my previous post? ShowSomeEffort