aspose file tools
The moose likes Servlets and the fly likes request and response Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: request and response
 
Similar Threads
request dispatcher
RequestDispatcher Include
forward() and include() methods
request scope for 3-4 pages
Use RequestDispatcher to include page content?