struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lixin Chu" <lixin....@gmail.com>
Subject Re: Global forwards don't support Tiles definitions?
Date Fri, 02 Jun 2006 08:56:57 GMT
not sure if this is what you want but this one should work:

global forward is defined as, fot example:

  <forward name="authorizationError" path=".authorizationError"
redirect="true"/>

the ".authorizationError" is defined as a Tile:
  <definition name=".authorizationError" extends=".baseDef">
    <put name="menu" value="/WEB-INF/tiles/menu/menu.jsp"/>
    <put name="content" value="/WEB-INF/pages/authorizationError.jsp"/>
  </definition>


in your action class, you can do this:
return mapping.findForward("authorizationError");

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message