This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
With request dispatcher method forward a request cant be forwarded once its commited,it will throw illegalStateException,but there is no such restriction with request dispatcher include method.Is this true.I thought the restriction is there for both the methods.This is from SCWCD revision notes from ESNAULT.
For include method, you are still staying at the same resource. Its just that you are sending back more data from the included resource, so it doesn't matter if response is already committed because what you have already send back to client are defintely part of the whole response.