struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: tiles definition in global forward
Date Fri, 13 Apr 2007 10:01:03 GMT
2007/4/13, Suman Maity <maity_suman83@yahoo.com>:
> Hi, we know that we can use a tiles definition as path of the forward tag
> under action tag in struts config file
> It looks like <action path=/....
>                   ......>
>                  <forward name="homePage" path="welcomePage"
> redirect="true"/>
>                 </action>

You cannot redirect to a Tiles definition, at least not directly.
Just as an information in Tiles 2 there is a "TilesDispatchServlet"
that lets you forward (and redirect) to an URL that renders a Tiles
definition:
http://tiles.apache.org/framework/apidocs/org/apache/tiles/web/TilesDispatchServlet.html

HTH
Antonio

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


Mime
View raw message