aspose file tools*
The moose likes Servlets and the fly likes Help Needed on RequestDispatcher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Help Needed on RequestDispatcher" Watch "Help Needed on RequestDispatcher" New topic
Author

Help Needed on RequestDispatcher

Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

RequestDispatcher will allow a page to redirect an request to another page.whether the same page will send the respose or destination page will responsible for the response?
javax.servlet.RequestDispatcher has two methods:
forward()
include()
what is the difference between these two mathods?explain about these two methods.
Advance Thanx.


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
David O'Meara posted a great explanation here.


Matthew Phillips
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help Needed on RequestDispatcher
 
Similar Threads
why have two RequestDispatchers
servlets
Passing data from jsp to servlet
How to get JSP URL in Servlet
Is it possible to call doGet/doPost method from RequestDispatcher.forward ()