Question: what is the difference between doing and include or a forward with a requestdispatcher?
Answer: Junior developers often get confused between the include and the forward methods of the RequestDispatcher. The key difference between the two is the fact that the forward method will close the output stream after it has been invoked, whereas the include method leaves the output stream open.