posted 18 years ago
Hi,
Let me try to explain the above case.
1. The servlet call the requestDispatche forward method. let the response is not committed so no problem.
2. After successfully executing the forward method. it will return to next line os the forward message.
3. Here the execution of the code in original servet resumes, but the response is committed so there is no way to display anything on the browser.
4. As you try to write somthing on the out, it throw the exception but can not show to the client as the response is already committed. But I can see the exception in server log.
Thanks
Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0