Hi Srini,
There were contradiction between asked question and its description in
the mock exam question.
I got the clear idea after referring to some other sources and observing
it practically:
1- In case of include() control returns back to the caller
2- In case of forward() control is just delegated to the called source.
Observations: Before the forward() is done, buffer is cleared.
If the response is already been committed, forward() gives
IllegalStateException.
Therefore I find the above statement (my question) false.
What do you say?
Thanks,