This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "request and response" Watch "request and response" New topic
Author

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: request and response
 
Similar Threads
RequestDispatcher Include
forward() and include() methods
Use RequestDispatcher to include page content?
request dispatcher
request scope for 3-4 pages