This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Difference between forward and include methods of RequestDispatcher? Anyone please. thanks in advance
posted 13 years ago
With forward() you pass on the request to another Web component (servlet or JSP) and say "goodbye" to it. The second component will deal with it and either it or yet another one will be responsible to send the response. With include(), it's like calling a subroutine to do something and then RETURN to where it was called from and the same component continues to process the request.
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD