Also, if you dont specify any path for the tiles def ; it default to WEB-INF/tiles.xml (Tiles 2.0.4 onwards i guess)
On 8/9/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > 2007/8/9, George Dadulescu <[EMAIL PROTECTED]>: > > Hi. I've just started using struts 2 and I need a little help from you > guys. > > I tried to integrate tiles with struts but I don't have all the info. I > > added the struts-tiles plugin, the listener " > > org.apache.struts2.tiles.StrutsTilesListener" and I added the > > <result-types> > > <result-type name="tiles" class=" > > org.apache.struts2.views.tiles.TilesResult" /> > > </result-types> > > in my struts.xml but now I don't know how to configure the tiles defs > file > > and any other step I missed. > > > > PS: Where should I put the former <init-param> element so that the > > application knows where is my tiles defs file ? > > > See: > http://tiles.apache.org/tutorial/configuration.html > See the instructions for the use of the "TilesListener", the context > parameter is the same even using StrutsTilesListener. > > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >