You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hartrich, James CTR USTRANSCOM J6" <Ja...@ustranscom.mil> on 2007/02/22 17:51:32 UTC

S2 Tiles exception

struts2-core-2.0.5.jar
xwork-2.0.0.jar
S2-tiles-plugin-2.0.5
tiles-core-2.0-20070130.184344-3.jar
tiles-api-2.0-20070130.184344-3.jar

I have an org.apache.tiles.TilesException from BasicTilesContainer.java.
Does anyone know if the following configuration is incorrect? Thanks!

1) web.xml containing the TilesServlet entry, and also the
StrutsTilesListener entry.

2) struts.xml containing a package which extends tiles-default, action
that uses wildcard naming, and has a result type of tiles.

3) tiles.xml - containing: 
	<definition name="admin" path="/layout.jsp">
		<put name="title" value="some string"/>
		<put name="banner" value="/banner.jsp"/>
		<put name="menu" value="admin.menu"/>
		<put name="section" value="admin.section"/>
	</definition>

	<definition name="admin.menu" path="/menu.jsp">
	</definition>

	<definition name="admin.section" path="/section.jsp">
	</definition>




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org