Are you using the TilesRequestProcessor? In struts-config.xml:
<controller
processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
Also make sure the Tiles Plugin is configured:
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<!-- Path to XML definition file -->
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml" />
<!-- Set Module-awareness to true -->
<set-property property="moduleAware" value="true" />
</plug-in>
Greg
On Sep 30, 2005, at 4:47 PM, Graham Reeds wrote:
I'm trying to set an action mapping to a tile.
I have a jsp page with a link to Tester: <a href="pages/
Tester">Test</a>
In my struts-config.xml I have a forward mapped: <action
path="pages/Tester" forward="Test.page" />
And in tile-def.xml I have Test.page defined:
<definition name="Test.page" extends="Main.layout">
<put name="title" value="Test" />
</definition>
However this gives a 404 for the page test/pages/Tester
I thought it might be that the application hasn't been updated so I
stopped and restarted Tomcat and that had no effect - still 404's.
Anything else I need to check?
Thanks Graham Reeds.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]