You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nicolas De Loof <ni...@cgey.com> on 2003/04/07 09:28:51 UTC

used with a tile

Hi,

in the index.jsp page of my app (welcome file) I would like to forward to a tile, using :

<logic:forward name="index" />

In struts-config.xml I have set this global forward :

  <global-forwards>
    <forward name="index" path="tiles:index"/>
  </global-forwards>

In tiles-def.xml I have defined the tile "tile:index"

It doesn't work as server is looking for "/[app context]/tiles:index"

If I define a forward action "/index" that forwards to my tile, and change forward to <forward name="index"
path="/index.do"/>, it works.


Did I miss something ? Doesn't logic:forward tag support tiles ?

Nico.


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