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]>