It's not a secret anymore!
The moose likes Servlets and the fly likes request and response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "request and response" Watch "request and response" New topic

request and response

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
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.
wood burning stoves
subject: request and response
It's not a secret anymore!