I think you are using some code
after response.sendRedirect() or doForward() which forward the request to other
page.
The best practice will be to use a return statement after doing the forward.
You should ensure to complete all you business logic before these statements are
used.

"Rajat Pandit, Gurgaon" wrote:

> Hello Scott,
> Yes, this happens when you have already sent the headers to the client and
> then you are trying to re-send the information. This will cause the
> application container to give you this error. Make sure that before you do a
> dispatch no headers have been changed including cookie values etc.
> rajat
>
> -----Original Message-----
> From: Scott Smith [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 6:56 AM
> To: [EMAIL PROTECTED]
> Subject: Strange error message
>
> Has anyone seen the following error message and know what it means?
>
> "Cannot forward after response has been committed".
>
> I think it's coming out of something called application.dispatcher
> (doForward; line 138).
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to