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:
> 
> 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
> 
> <logic:notPresent scope="session" name="loginForm">
> <jsp:forward page="/index.jsp"/>
> </logic:notPresent>
> 
> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Guillermo Castro [EMAIL PROTECTED]
Monterrey NL, Mexico http://www.javageek.org/

Reply via email to