I haven't looked at the flush in the tiles tag, but that may commit the response and, so, when you do the init with your /main.do?method=doInit" the forward at the end of your action is not possible. Something like that seems to be indicated by the error message. Do you have a stack trace?

At 12:26 PM 6/16/2004, James Mitchell wrote:
Did you configure an error page in your web.xml?



--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message -----
From: "Bob Thomas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 2004 3:23 PM
Subject: Tiles problem


> When I do this ... > > <tiles:insert page="layout.jsp" flush="true"> > ... > <tiles:put name="body" value="/main.do?method=doInit" /> > </tiles:insert> > > I get the following error message: > java.lang.IllegalStateException: Cannot forward after response has been > committed > > What am I doing wrong? > > Thanks in advance, > Bob > > > > --------------------------------- > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone.



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