forward () is used to forward the page to another page that you specify, with the same set of request and response references, whereas an include () includes the content of the page that you want to include.
Originally posted by Dhineshkumar raj: what is the difference b/w forward() and include() methods in RequestDispatcher class
Can any one tell me the clear definition an differences
in forward: if request and response transfer from one page to another, it will not return to previous page. in include:if request and response transfer from one page to another, it will return to previous page by taking all information from second page .