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?