Jeromy, 

Thanks for the replies.

>>In cases where I've needed this behaviour I've referenced the JSP 
>>instead of a Tile.

Do you mean your result redirects to a JSP instead of a struts action?

MG


-----Original Message-----
From: Jeromy Evans [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 08, 2008 6:40 AM
To: Struts Users Mailing List
Subject: Re: <s:action/> redirect does not work with Tiles.

Griffith, Michael * wrote:
> Hello All, 
>
>  
>
> I cannot make <s:action/> result go to a new page.  Chaining the
result
> does work, but the response shows my entire tile set showing up in the
> inside tile, which is not what I want either.
>
>   

Assuming Struts2, the s:action tag can only execute an action and 
execute where that result can be included within the current 
outputstream (eg. including a JSP fragment).

I redirect result makes no sense in this context as the output stream is

already open and written to.

I can confirm that a Tiles result (Struts2 result of type tiles) does 
not work in this context either as it throws an exception that the 
outputstream has already been opened (or something like that; I can't 
recall exactly but it's in JIRA somewhere under the Tiles2 plugin).

In cases where I've needed this behaviour I've referenced the JSP 
instead of a Tile.

Hope that helps,
Jeromy Evans


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