struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Thibaudeau" <pierre.thibaud...@gmail.com>
Subject [s1] Global-forwards with Tiles
Date Tue, 06 Feb 2007 23:40:56 GMT
Problem with using global forwards with tiles:

I have these two global forwards:
  <global-forwards >
    <forward name="person" path="/person.do" />
    <forward name="search" path=".search" />
  </global-forwards>

The first one points to a "person" ActionMapping.  This works perfectly in
the tag <html:link forward="person">

The second one points to an entry in the tiles-def.xml:
    <definition name=".search" path="/layouts/pageLayout.jsp">
        <put name="header" value="/tiles/headerTile.jsp" />
        etc.
    </definition>

But <html:link forward="search"> produces a link ending with:
/layouts/.search
That's definitely not what I have in mind!!!  (Googling the issue seems to
suggest that this should work.)

Any clue on what the problem might be?

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