You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/04/04 03:26:09 UTC

DO NOT REPLY [Bug 33789] - problem using redirect=true when path is a tiles definition

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33789>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33789


niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From niallp@apache.org  2005-04-04 03:26 -------
In order to do a redirect, then there needs to be a "real" URL. If we had a 
Tiles servlet that handled specified servlet mappings then this would be 
possible. That used to be the way tiles worked, but currently the 
TilesRequestProcesor intercepts forwards to tiles definitions and processes 
them there.

If you want to re-direct to a tiles definition, then you could do something 
like the following...

 <action path="/actionA" type="....">
    <forward name="success" path="/actionB.do" redirect="true"/>
 </action>

 <action path="/actionB" 
    type="org.apache.struts.actions.ForwardAction"
    parameter="a_Path_To_a_Tiles_Definition"/>

I'm closing this as invalid.

Niall


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org