Using requestdispatcher.include(request,response) we can include the content generated by another servlet/html in the response. The included servlet makes use of this request/response object pair.
But what is the use of this request/response pair if we are including an Html page(may be we generally don't include an Html page from a servlet but in case if we do so). Is this just the syntax that we have to follow or is there any reason for this.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
When you include an HTML page, what you're really doing is forwarding or including the defaultServlet (or whatever it is, in your container, that serves up static content). That servlet has the same access to the request and response as any other.