This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 1850

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
OCAJP 7/8 Exam, 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
 
It's not a secret anymore!