The one key difference between forward() and include() is the fact that forward() clears the output buffer prior to forwarding control to the other
servlet (JSPs are servlets ultimately). So, DO NOT forward to another servlet after you've written data to the output stream as the response may already be committed. The include() method merely includes the output of the other servlet inline.