You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dean Crothers <dc...@hotmail.com> on 2006/10/19 06:04:10 UTC
Struts2 Tiles Integration
Hi,
I've got Struts 1 and Struts 2.0.1 working side by side, and have Tiles
working with Struts 1. However, I cant get Tiiles to work with Struts 2.
What I'd like to know is how do I configure Struts2 to find the
tiles-def.xml?
Heres what I have configured so far:
<!-- in web.xml -->
<listener>
<listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class>
</listener>
<!-- in struts.xml -->
<result-types>
<result-type name="tiles"
class="org.apache.struts2.views.tiles.TilesResult"/>
</result-types>
many thanks,
Dean
_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org