Thanks Victor. It turned the appLogOn tag looked for couple objects in
session and it was not there, "accidently".

Thinh

-----Original Message-----
From: Victor Hadianto [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 6:51 PM
To: Struts Users Mailing List
Subject: Re: Can not forward error


On Thu, 23 May 2002 08:40, you wrote:
> In my action I have defined:
>
>     String idxPage = "/jsp/thankyou.jsp";
>
> and later in the code, based on error situation, I did a:
>           return (new ActionForward(idxPage));
>
> and got this error:
>
> ----- Root Cause -----
> javax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot
> forward after response has been committed

This usually happen in Tomcat in the case where you have written something
to
the response object _then_ try to forward to another page.

Have a look closely and trace the flow in your code and see how it goes.

HTH,

--
Victor Hadianto

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


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

Reply via email to