The implementation of HttpServlerRequest and HttpServlerResponse are provided by application server vendor and you should not worry about it. The actual object, an instance of HttpServlerRequest/HttpServlerResponse is instantiated and populated with corresponding data by web container. All you need to focus on is what you actually want to do in your servlet.
-- Regards, Artashes Hovasapyan On Tue, Mar 10, 2009 at 11:51 PM, daydream <abdall...@gmail.com> wrote: > > hi everybody , > > i was looking into Docs of the httpservletrequest and response and > they are defind as interfaces ... > > so my question is interfaces are to implemented in classes and those > classes can be used to create objects > > but in the service methods i pass an httpservletrequest and response > as an object ...!!!??? without creating a class or something ..i > know i'm missing something but i'd appreciate ur intake on this > subject > > peace to u all > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---