Re: Cannot forward after response has been committed...

2013-01-18 Thread raghu88
); -- View this message in context: http://struts.1045723.n5.nabble.com/Cannot-forward-after-response-has-been-committed-tp5710573p5711664.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread 梁炳場
Thank you so much. 2005/9/1, Guillermo Castro <[EMAIL PROTECTED]>: > Ok... > > Assuming you have a tiles layout definition like: > > > > > > > > You can make the header content a tile definition by itself, and use that > definition to declare your Controller class, which will be the one wi

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread Guillermo Castro
Ok... Assuming you have a tiles layout definition like: You can make the header content a tile definition by itself, and use that definition to declare your Controller class, which will be the one with the logic for forwarding: And put the forward inside the HeaderController c

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread 梁炳場
What if the Tiles layout composing header, menu and body. Where the Tiles Controller belongs to? Does it stick one layout? Thanks 2005/9/1, Guillermo Castro <[EMAIL PROTECTED]>: > The error happens when part of your jsp page has already been sent to the > client. > > My recommendation would be

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread Guillermo Castro
The error happens when part of your jsp page has already been sent to the client. My recommendation would be to define a Tiles Controller (see org.apache.struts.tiles.ControllerSupport) that would do the forwarding logic. I hope this helps. On 9/1/05, 梁炳場 <[EMAIL PROTECTED]> wrote: > > Withi

Error: Cannot forward after response has been committed?

2005-09-01 Thread 梁炳場
Within a Tiles layout, I try to forward to another jsp when a bean not exist? But it leads to the subject line error message? In the header layout jsp, I put this If it is not allowed or it is not a good way, what is the better way or another way to do so? Thanks PC Leung ---