Using Google, I have found some threads about using Tiles with Struts2, 
but they all seem to involve using Tiles2 and not Tiles(1)
(http://www.mail-archive.com/user@struts.apache.org/msg56425.html and 
http://www.mail-archive.com/user@struts.apache.org/msg56532.html)

Currently, I cannot forward to a Tiles-template when my definition tag 
looks like this:

<definition name="view.teststruts2andtiles" path="
/layout/teststruts2andtiles.jsp"/>

causes
org.apache.tiles.TilesException
        at org.apache.tiles.impl.BasicTilesContainer.render
(BasicTilesContainer.java:403)

However, if I change it to using the template -attribute instead, it 
works fine
<definition name="view.teststruts2andtiles" template="
/layout/teststruts2andtiles.jsp"/>

As the usage of the template-attribute is defined in the tiles2-DTD, I 
suspect that Tiles2 is used by my application and not Tiles(1)

How can I make sure that Tiles1 is used in my Struts2 application? Or 
is it not possible?

Many thanks in advance  / Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to