struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Römer <>
Subject Re: Tiles 2 woes
Date Wed, 11 Apr 2007 15:46:45 GMT
I was recently doing the same and what gave me a headache was that even
though my IDE complains about it, it has to be

	<definition name="errorTiles" extends="homeTiles">
		<put name="body" value="/test/error.jsp"/>

rather than

	<definition name="errorTiles" extends="homeTiles">
		<put-attribute name="body" value="/test/error.jsp"/>

which gave me a

11-Apr-2007 17:42:15 org.apache.tiles.impl.BasicTilesContainer render
SEVERE: Error rendering tile

So maybe it's that or something similar?

Torsten wrote:
> I'm trying to migrate a S1 web app to S2.  Most things are working with the
> exception of Tiles.  Here is the list of things I did in case someone might
> detect a glitch;
>   1. Had to download commons-digester-1.8.jar because it was not
>   included in \struts-2.0.6\lib
>   2. Added the three struts tiles jars to my project (plugin, core, api)
>   3. Added org.apache.struts2.tiles.StrutsTilesListener to web.xml
>   4. Modified struts package to extend tiles-default
>   5. Copied my tiles.xml
>   6. Copied my jsp files
> When I make an HTTPRequest to my  struts action it correctly makes the
> request of the result type "tiles" but I receive the following error:
> 08:58:33,459 ERROR BasicTilesContainer:401 - Error rendering tile
> I have double checked all the names and file locations and this message
> doesn't give me much to go by!  After reviewing
> it appears the tiles
> tag
> names have been changed so I updated them accordingly.  Any clues before I
> jump?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message